SV: [Zope-dev] Small Alert - Probably Apache / mod-rewrite
Jean-Paul Smets
jp@nexedi.com
Sat, 9 Mar 2002 16:30:58 +0100
Hi,
I did a few more tests. Apparently, this cookie issue
- happens in proxy mode
- does not happen in CGI mode
Of course, it is required to delete all cookies stored in the browser once
the __ac cookie has been successfully set in CGI mode
I have enclose an excerpt of my Apache config which shows various tests.
JPS.
<VirtualHost erp5.org>
DocumentRoot /home/jp/public_html/erp5/
ServerName erp5.org
ServerAlias www.erp5.org
#ProxyPass /
http://localhost:9673/VirtualHostBase/http/www.erp5.org:80/erp5/VirtualHostRoot/
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
#RewriteRule ^/(.*)
http://localhost:9673/VirtualHostBase/http/www.erp5.org:80/erp5/VirtualHostRoot/$1
[L,P]
#RewriteRule ^/(.*) http://localhost:9673/erp5/$1 [L,P]
#RewriteRule ^/(.*)
http://localhost:9673/VirtualHostBase/http/www.erp5.org:80/erp5/VirtualHostRoot/$1
[L,P]
RewriteRule ^/(.*)
/usr/lib/cgi-bin/Zope/VirtualHostBase/http/www.erp5.org:80/erp5/VirtualHostRoot/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
</VirtualHost>
--
Jean-Paul Smets-Solanes <jp@nexedi.com> - Nexedi (CEO)
GPG Fingerprint: 40FF FA78 75AA 680D 8BB4 EEF9 539A 79CC CB8E 5F01