httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvise Nicoletti <li...@alvisenicoletti.com>
Subject [users@httpd] ProxyPass and Tomcat's java jsessionid & cookies
Date Wed, 07 Oct 2009 12:23:05 GMT
Hi ...

I have a problem with cookies/sessions with jsp using proxypass linking 
apache2.2+tomcat6.

When I do a login from port 80, the jsessionid is in the browser's link 
like this:
http://nuovo.DOMAIN.COM/utente.do%3bjsessionid=3D29C52B819B2EBB874971ABA43866EE
And the sessions are not working (cookies problem?)
Using port 8080 (tomcat) all is working well.

This is my virtualhost  configuration:
<VirtualHost *:80>
        ServerAdmin  "webmaster@elan42.com"
        ServerName nuovo.DOMAIN.COM

        ProxyPreserveHost   On
        ProxyPass / http://localhost:8080/CompuService/
        ProxyPassReverse / http://localhost:8080/CompuService/


        LogLevel warn
        CustomLog /var/log/apache2/access.log
        ErrorLog /var/log/apache2/error.log


        RewriteEngine on
        RewriteRule ^/CompuService/(.*)$ http://nuovo.DOMAIN.COM/$1 [L]
        <location "/WEB-INF/">
                # AllowOverride None
                deny from all
        </location>
</VirtualHost>

Someone said me that we miss some "ProxyPassCookie" options but I don't 
know how to configure them...

Can you help me?

---------------------------------------------------------------------
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