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

2008-10-23 Thread Johnny Kewl
- Original Message - From: "nlif" <[EMAIL PROTECTED]> To: 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

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 sour

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 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 to point to your a

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 c

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

2008-10-23 Thread nlif
AIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-serve-two-docBases-under-the-same-context-path-tp20132698p20135720.html Sent from the Tomcat - User mailing list archive at Nabble.com. --

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

2008-10-23 Thread nlif
D] > > > -- View this message in context: http://www.nabble.com/How-to-serve-two-docBases-under-the-same-context-path-tp20132698p20135565.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To s

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 resou

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 p

How to serve two docBases under the same context path

2008-10-23 Thread nlif
al 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 the Tomcat - User mailing list archive at