Re: How to serve two docBases under the same context path

2008-10-24 Thread Johnny Kewl
- Original Message - From: nlif [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, October 23, 2008 4:56 PM Subject: How to serve two docBases under the same context path Hi all, I am using Tomcat 6, and I have the following problem: I am trying to separate the static

How to serve two docBases under the same context path

2008-10-23 Thread nlif
path=/myapp/ Context docBase=workspace\webapp path=/myapp/ Unfortunately, it is illegal to have two CONTEXT elements with the same PATH value. -- View this message in context: http://www.nabble.com/How-to-serve-two-docBases-under-the-same-context-path-tp20132698p20132698.html Sent from

Re: How to serve two docBases under the same context path

2008-10-23 Thread Hassan Schroeder
On Thu, Oct 23, 2008 at 7:56 AM, nlif [EMAIL PROTECTED] wrote: I am trying to separate the static content from the dynamic content of my application. In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application (mainly JSP's). My

RE: How to serve two docBases under the same context path

2008-10-23 Thread Caldarale, Charles R
From: nlif [mailto:[EMAIL PROTECTED] Subject: How to serve two docBases under the same context path In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application Why are you wasting your time, energy, and resources to do that? Tomcat

RE: How to serve two docBases under the same context path

2008-10-23 Thread nlif
. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-to-serve-two-docBases-under-the-same-context

Re: How to serve two docBases under the same context path

2008-10-23 Thread nlif
] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-to-serve-two-docBases-under-the-same

Re: How to serve two docBases under the same context path

2008-10-23 Thread Jeff
On Thu, Oct 23, 2008 at 9:56 AM, nlif [EMAIL PROTECTED] wrote: I am trying to separate the static content from the dynamic content of my application. In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application (mainly JSP's). This can be

Re: How to serve two docBases under the same context path

2008-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nlif, nlif wrote: The problem stems from the decision to separate the web-app and static-content to two projects in SVN, and this is due to the fact that different people maintain them. This shouldn't be a problem: set your Context to point to

Re: How to serve two docBases under the same context path

2008-10-23 Thread André Warnier
nlif wrote: [...] I will not, like some others (;-)), presume to guess why you want to do this. But I will presume that you have a clear way to distinguish what are links to static content from what are links to dynamic content (e.g. static ends in .html,.jpg,.css etc.. while dynamic ends in

Re: How to serve two docBases under the same context path

2008-10-23 Thread Hassan Schroeder
On Thu, Oct 23, 2008 at 10:23 AM, nlif [EMAIL PROTECTED] wrote: Should my dev and prod environments be identical? Really? So you deploy your source files? :-) This is one of many cases in which the development environment does not match the production environment. Well, deploying source