On 9/24/07, Sander Temme <[EMAIL PROTECTED]> wrote:
>
> On Sep 23, 2007, at 5:13 AM, Haim Ashkenazi wrote:
>
> > ProxyPass / ajp://localhost:8009/abc/
> > sessions are not kept in tomcat. every request is like a new one.
> >
> > Is this a normal behavior? Is there a workaround for that?
>
> Yes, because Tomcat will set a JSESSIONID cookie for path /abc, and
> the browser will not send that back because it's going to path /
> foo.jsp and not /abc/foo.jsp.
>
> You need to have mod_proxy munge the cookie path on the way out.  It
> has a directive for that, but I'm too tired to look that up right now.
Thanx, I've looked it up, found it and it solved the problem.

The directive was:
ProxyPassReverseCookiePath /abc /

Bye
--
Haim

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to