Re: Question about proxy_ajp, sessions and paths...

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

 




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.

S.

--
Sander Temme
sctemme@xxxxxxxxxx
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux