You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Thorsten Mauch <ma...@imkenberg.de> on 2003/07/20 02:13:04 UTC
Session got lost while rewrite URL with Apache
I use apache 1.3.26 and cocoon 2.1 dev. I try to deploy my application
using apache as front end. I followed the "Basic configuration of apache 2.0
for
Cocoon 2"
Everthing work fine so far. But when i try to rewrite the root context the
session
got lost, any Ideas ?
My Virtual host looks:
<VirtualHost _default_:*>
RewriteEngine On
DocumentRoot /opt/tomcat/webapps/cocoon/myapp/static
RewriteRule "^/(.*)\.(jpg|jpeg|css|gif)$" "$0" [L]
RewriteRule "^/(.*)" http://localhost:8080/cocoon/myapp/$1 [P]
ProxyPassReverse / http://localhost:8080/cocoon/myapp/
</VirtualHost>