Cookie crumbler and VHM
Hi, I have converted a zope site (using CC authentication) to virtual hosting. Now I can't authenticate. The request['AUTHENTICATION_PATH'] has the VHM appended to the end so i guess this is the problem. I also see from the mailing lists that it could also be apache truncating the cookies. Any clues please? tia Drew
Hi Chris,
What version of Apache are you using?
1.3.23 standard install on redhat 8.0
What does the appropriate section of your Apache config look like?
<VirtualHost *> ServerAdmin webmaster@maleny.com.au DocumentRoot /var/www/html ServerName virtualhost.maleny.com.au ErrorLog logs/virtualhost.maleny.com.au-error_log CustomLog logs/virtualhost.maleny.com.au-access_log common # Zope rewrite RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/virtualhost.maleny.com.au:80/A/Vi... [P,L] </VirtualHost> The cookie authentication works fine on port 8080. When changing to the virtual rewrite the login works (from login_form to logged_in), but any other request is back to anaonymous user. I guess the cookies are not there. The REQUEST['AUTHENTICATION_PATH] includes the VHM (eg /folder/vhm). Please help.
cheers,
Chris
participants (3)
-
Bakhtiar A Hamid -
Chris Withers -
drew nichols