one webapp, many apache virtualhosts

2008-07-23 Thread Jordan Michaels
Hi Folks, I have a situation where I want all jsp files on a particular system to be served up by one context (webapp) in tomcat. So in apache, I have a virtualhost who's files are stored in /home/user1/public_html, and another apache virtualhost who's files are stored in

Re: one webapp, many apache virtualhosts

2008-07-23 Thread Gabe Wong
Hi Jordan, You just need to put the proxy directive outside the virtualhost once. So it would be globally available in the Apache config. Regards Jordan Michaels wrote: Hi Folks, I have a situation where I want all jsp files on a particular system to be served up by one context (webapp) in

Re: one webapp, many apache virtualhosts

2008-07-23 Thread Jordan Michaels
Hi Gabe, Hmm... you mean add the following outside the VirtualHost directives: ProxyPass / http://mydomain.com:8080/ ProxyPassreverse / http://mydomain.com:8080/ HostnameLookups Off Wouldn't that just serve up the JSP files that are located in the ROOT webapp? Maybe I'm confused. Maybe I'm

Re: one webapp, many apache virtualhosts

2008-07-23 Thread Gabe Wong
Jordan Michaels wrote: Hi Gabe, Hmm... you mean add the following outside the VirtualHost directives: ProxyPass / http://mydomain.com:8080/ ProxyPassreverse / http://mydomain.com:8080/ HostnameLookups Off Wouldn't that just serve up the JSP files that are located in the ROOT webapp? Maybe I'm