[Zope] Cookie crumbler and VHM
drew nichols
drew@mena.org.au
Wed Aug 6 05:26:53 EDT 2003
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/VirtualHostRoot/$1
[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
>
>
>
More information about the Zope
mailing list