[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache mod_jk



On Wed, 26 Nov 2003, Rupa Schomaker wrote:

> Mariano García <mariano.garcia@optivamedia.com> writes:
>
> > Hi all,
> >
> > I am installing tomcat with apache on Debian (testing). Looking for
> > information I have found that I need mod-jk apache module, and I have
> > found some references about libapache-mod-jk debian package.
>
> 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.

apache's proxy module doesn't work well with cookies when doing the above.
I've seen it only look at the first cookie, or not at all.



Reply to: