httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramou <sth...@cs.concordia.ca>
Subject [users@httpd] Re: Tomcat session lost with mod_rewrite+mod_proxy
Date Sat, 24 Mar 2007 16:18:28 GMT

I ran into your problem too. Your fix tugged something in my brain so I
went and looked it up. Here is the sort of fix you were looking for:

'mod_proxy - Apache HTTP Server'
(http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse)

ProxyPassReverseCookiePath / /mirror/foo/

where the above paths are the paths on the ProxyPassReverse directive
you'd used. In my particular case:

RewriteEngine on
RewriteRule ^/group0n/(.*) http://localhost:8080/group0n/$1 [P]
RewriteRule ^/servlet/(.*) http://localhost:8080/group0n/$1 [P]
ProxyPassReverse /servlet/ http://localhost:8080/group0n/
ProxyPassReverseCookiePath /group0n/ /servlet/

I don't understand how my students worked without sessions for 10 weeks
and only one of them pointed out that something was wrong?


-- 
ramou
------------------------------------------------------------------------
ramou's Profile: http://unixadmintalk.com/1512
View this thread: http://unixadmintalk.com/showthread.php?t=42935



---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message