Yves Vindevogel wrote:
> Hi all,
> 
> I have too little knowledge of Apache to set up a Rewrite rule in order
> that my session is stored in Tomcat when I don't have the same folder
> structure.
> 
> My current virtual host is this:
> 
> <VirtualHost *:80>
> DocumentRoot /srv/apache2/htdocs/www.implements.be
> ServerName www.implements.be
> ErrorLog /srv/stats/www.implements.be/error.log
> CustomLog /srv/stats/www.implements.be/access.log common
> 
> ProxyPass /test/ http://127.0.0.1:8080/cocoon/test/
> ProxyPassReverse /test/ http://127.0.0.1:8080/cocoon/test/
> </VirtualHost>
> 
> 
> What should I add to have my session working ?
> I tried to add this
> 
> RewriteEngine On
> ProxyRequests Off
> RewriteRule ^/([^/\.]+)$ $1/ [R]
> 
> This does not help

You should either:

1) Make sure that your paths are the same, it'll make life much easier
2) Work out how to set the cookie path in Tomcat. I know you can do it
   in Jetty. Basically this says "have cookies stored relative to /
   rather than relative to /cocoon, and is done within Tomcat. This
   would solve your problem.

If you work out how to do 2, why don't you stick it up on the wiki
somewhere.

Regards, Upayavira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]