[Zope] Newbie Question: Cookie Crumbler and Virtual Hosting

Mico Siahaan mico@cbn.net.id
Sat, 12 Apr 2003 12:25:07 +0700


 Friends,=0D
=0D
Can you tell me how to use cookie crumbler in a virtual host? I tried to =
use
cookie crumbler in one of our virtual host. I did these:=0D
1. Let say I put the all documents and files under directory /navs in our
Zope server.=0D
2. Then I added virtual host monster in our root =0D
3. In directory /navs I added cookie crumbler=0D
4. I created login_form, logged_in and logged_out documents=0D
5. Then I put these lines in Apache virtual hosts conf :=0D
=0D
RewriteRule (.*) http://our.zope.server:8080/VirtualHostBase/http/www.nav=
s
or.id/navs/VirtualHostRoot/$1 [L,P]=0D
=0D
The problem is, when I tried to log in into Zope Management Interface usi=
ng
www.navs.or.id/manage, I had to fill in login_form, after that, it took m=
e
to a 'strange' ZMI. Still there were 3 frames: top, right, and left, but =
all
frames contained navs' standard_html_header and not usual ZMI!=0D
=0D
So, if I want to log into usual ZMI I had to use www.navs.or
id/manage?disable_cookie_login__=3D1=0D
=0D
Can somebody tell me how to fix this?=0D
=0D
Btw, I am using Zope 2.6.0, Cookie Crumbler provided by CMF 1.3=0D
=0D
Thanks.