[lug] apache and mod_proxy
Hugh Brown
hugh at math.byu.edu
Fri Mar 12 18:11:47 MST 2004
On Tue, 2004-03-02 at 21:01, Lee Woodworth wrote:
> On 2 Mar 2004 at 12:57, Hugh Brown wrote:
>
> .....
> > <VirtualHost _default_:*>
> > ProxyRequests off
> > ProxyPass /webapp1/ http://localhost:8080/webapp1/
> > ProxyPassReverse /webapp1/ http://localhost:8080/webapp1/
> > ProxyPass /webapp2/ http://localhost:8080/webapp2/
> > ProxyPassReverse /webapp2/ http://localhost:8080/webapp2/
> > </VirtualHost>
> >
> > When I hit the http://webhost/ at port 80, I get the defaults that I
> > expect. When I then go to http://webhost/webapp1/ the URL gets
> > rewritten and I get an error.
> What do the access logs for the proxy and the reverse proxy targets
> say? The related parts of the two sites' error logs are useful too.
I was using the Proxy connector in tomcat and had set the hostname to
localhost. I also discovered later that mod_jk does not like it if you
put the JkWorkersFile directive in a VirtualHost environment.
Thanks for the responses.
Hugh
More information about the LUG
mailing list