Newbie Question: Cookie Crumbler and Virtual Hosting
Friends, 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: 1. Let say I put the all documents and files under directory /navs in our Zope server. 2. Then I added virtual host monster in our root 3. In directory /navs I added cookie crumbler 4. I created login_form, logged_in and logged_out documents 5. Then I put these lines in Apache virtual hosts conf : RewriteRule (.*) http://our.zope.server:8080/VirtualHostBase/http/www.navs or.id/navs/VirtualHostRoot/$1 [L,P] The problem is, when I tried to log in into Zope Management Interface using www.navs.or.id/manage, I had to fill in login_form, after that, it took me 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! So, if I want to log into usual ZMI I had to use www.navs.or id/manage?disable_cookie_login__=1 Can somebody tell me how to fix this? Btw, I am using Zope 2.6.0, Cookie Crumbler provided by CMF 1.3 Thanks.
Mico Siahaan wrote at 2003-4-12 12:25 +0700:
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: 1. Let say I put the all documents and files under directory /navs in our Zope server. 2. Then I added virtual host monster in our root 3. In directory /navs I added cookie crumbler 4. I created login_form, logged_in and logged_out documents 5. Then I put these lines in Apache virtual hosts conf :
RewriteRule (.*) http://our.zope.server:8080/VirtualHostBase/http/www.navs or.id/navs/VirtualHostRoot/$1 [L,P]
You should have a port after "www.navsor.id": "www.navwor.id:80" Dieter
I did that, but I still got the same 'error'. Thanks. -mico- -------Original Message------- From: Dieter Maurer Date: Sunday, April 13, 2003 1:37:38 AM To: Mico Siahaan Cc: zope@zope.org Subject: Re: [Zope] Newbie Question: Cookie Crumbler and Virtual Hosting Mico Siahaan wrote at 2003-4-12 12:25 +0700:
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: 1. Let say I put the all documents and files under directory /navs in our Zope server. 2. Then I added virtual host monster in our root 3. In directory /navs I added cookie crumbler 4. I created login_form, logged_in and logged_out documents 5. Then I put these lines in Apache virtual hosts conf :
RewriteRule (.*) http://our.zope.server:8080/VirtualHostBase/http/www.navs or.id/navs/VirtualHostRoot/$1 [L,P]
You should have a port after "www.navsor.id": "www.navwor.id:80" Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) .
participants (2)
-
Dieter Maurer -
Mico Siahaan