Re: Apache mod_jk
On Wed, 2003-11-26 at 22:06, Rupa Schomaker wrote:
> Rather than using the mod-jk module, I've been using
> ProxyPass/ProxyPassReverse to pass traffic back and forth. My config
> looks like this in the virtual server:
>
> ProxyPass /puburl/ http://locahost:8080/tomcaturl/
> ProxyPassReverse /puburl/ http://localhost:8080/tomcaturl/
>
> Seems to do the trick for me. The biggest drawback is that to
> determine the remote host (or IP) you have to look at the headers
> added by the proxy rather than using the java API.
You just need to add proxyHost and proxyPort to your connector
configuration in tomcat when you're behind a reverse proxy.
Reply to: