[Zope] Newbie Question: Cookie Crumbler and Virtual Hosting

Mico Siahaan mico@cbn.net.id
Sun, 13 Apr 2003 05:41:03 +0700


--------------Boundary-00=_FO59BHK0000000000000
Content-Type: Multipart/Alternative;
  boundary="------------Boundary-00=_FO596RO0000000000000"


--------------Boundary-00=_FO596RO0000000000000
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I did that, but I still got the same 'error'.=0D
=0D
Thanks.=0D
=0D
-mico-=0D
 =0D
-------Original Message-------=0D
 =0D
From: Dieter Maurer=0D
Date: Sunday, April 13, 2003 1:37:38 AM=0D
To: Mico Siahaan=0D
Cc: zope@zope.org=0D
Subject: Re: [Zope] Newbie Question: Cookie Crumbler and Virtual Hosting=0D
 =0D
Mico Siahaan wrote at 2003-4-12 12:25 +0700:=0D
> Can you tell me how to use cookie crumbler in a virtual host? I tried t=
o
use=0D
> 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 o=
ur=0D
> 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.n=
avs=0D
> or.id/navs/VirtualHostRoot/$1 [L,P]=0D
=0D
You should have a port after "www.navsor.id": "www.navwor.id:80"=0D
=0D
=0D
Dieter=0D
=0D
_______________________________________________=0D
Zope maillist - Zope@zope.org=0D
http://mail.zope.org/mailman/listinfo/zope=0D
** No cross posts or HTML encoding! **=0D
(Related lists - =0D
http://mail.zope.org/mailman/listinfo/zope-announce=0D
http://mail.zope.org/mailman/listinfo/zope-dev )=0D
=0D
=2E=20
--------------Boundary-00=_FO596RO0000000000000
Content-Type: Text/HTML;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-=
1">
<META content=3D"IncrediMail 1.0" name=3DGENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER></X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style=3D"BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px=
 10px 10px; FONT-FAMILY: Arial" bgColor=3D#ffffff background=3D"" scroll=3D=
yes ORGYPOS=3D"0" X-FVER=3D"3.0">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F=
AMILY: Arial" width=3D"100%">
<DIV>I did that, but I still got the same 'error'.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-mico-<BR>&nbsp;</DIV>
<DIV id=3DIncrediOriginalMessage><I>-------Original Message-------</I></D=
IV>
<DIV>&nbsp;</DIV>
<DIV id=3Dreceivestrings>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>From:</B></I> <A href=3D"m=
ailto:dieter@handshake.de">Dieter Maurer</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Date:</B></I> Sunday, Apri=
l 13, 2003 1:37:38 AM</DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>To:</B></I> <A href=3D"mai=
lto:mico@cbn.net.id">Mico Siahaan</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Cc:</B></I> <A href=3D"mai=
lto:zope@zope.org">zope@zope.org</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Subject:</B></I> Re: [Zope=
] Newbie Question: Cookie Crumbler and Virtual Hosting</DIV></DIV>
<DIV>&nbsp;</DIV>Mico Siahaan wrote at 2003-4-12 12:25 +0700:<BR>&gt; Can=
 you tell me how to use cookie crumbler in a virtual host? I tried to use=
<BR>&gt; cookie crumbler in one of our virtual host. I did these:<BR>&gt;=
 1. Let say I put the all documents and files under directory /navs in ou=
r<BR>&gt; Zope server.<BR>&gt; 2. Then I added virtual host monster in ou=
r root <BR>&gt; 3. In directory /navs I added cookie crumbler<BR>&gt; 4. =
I created login_form, logged_in and logged_out documents<BR>&gt; 5. Then =
I put these lines in Apache virtual hosts conf :<BR>&gt; <BR>&gt; Rewrite=
Rule (.*) http://our.zope.server:8080/VirtualHostBase/http/<A href=3D"htt=
p://www.navs">www.navs</A><BR>&gt; or.id/navs/VirtualHostRoot/$1 [L,P]<BR=
><BR>You should have a port after "<A href=3D"http://www.navsor.id">www.n=
avsor.id</A>": "<A href=3D"http://www.navwor.id:80">www.navwor.id:80</A>"=
<BR><BR><BR>Dieter<BR><BR>_______________________________________________=
<BR>Zope maillist - <A href=3D"mailto:Zope@zope.org">Zope@zope.org</A><BR=
><A href=3D"http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.=
org/mailman/listinfo/zope</A><BR>** No cross posts or HTML encoding! **<B=
R>(Related lists - <BR><A href=3D"http://mail.zope.org/mailman/listinfo/z=
ope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</A><BR>=
<A href=3D"http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zo=
pe.org/mailman/listinfo/zope-dev</A> )<BR><BR>. </TD></TR>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
ABLE></TD></TR></TBODY></TABLE><SPAN id=3DIncrediStamp><SPAN dir=3Dltr><F=
ONT face=3D"Arial, Helvetica, sans-serif" size=3D2>______________________=
______________________________<BR><FONT face=3D"Comic Sans MS" size=3D2><=
A href=3D"http://www.incredimail.com/redir.asp?ad_id=3D309&amp;lang=3D9">=
<IMG alt=3D"" hspace=3D0 src=3D"cid:73A6526F-92AC-4257-96D6-4F8DCB0F6D48"=
 align=3Dbaseline border=3D0></A>&nbsp; <I>IncrediMail</I> - <B>Email has=
 finally evolved</B> - </FONT><A href=3D"http://www.incredimail.com/redir=
=2Easp?ad_id=3D309&amp;lang=3D9"><FONT face=3D"Times New Roman" size=3D3>=
<B><U>Click Here</U></B></FONT></A></SPAN></SPAN></FONT></BODY></HTML>
--------------Boundary-00=_FO596RO0000000000000--

--------------Boundary-00=_FO59BHK0000000000000
Content-Type: image/gif;
  name="IMSTP.gif"
Content-Transfer-Encoding: base64
Content-ID: <73A6526F-92AC-4257-96D6-4F8DCB0F6D48>

R0lGODlhFAAPALMIAP9gAM9gAM8vAM9gL/+QL5AvAGAvAP9gL////wAAAAAAAAAAAAAAAAAAAAAA
AAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJFAAIACwAAAAAFAAPAAAEVRDJSaudJuudrxlEKI6B
URlCUYyjKpgYAKSgOBSCDEuGDKgrAtC3Q/R+hkPJEDgYCjpKr5A8WK9OaPFZwHoPqm3366VKyeRt
E30tVVRscMHDqV/u+AgAIfkEBWQACAAsAAAAABQADwAABBIQyUmrvTjrzbv/YCiOZGmeaAQAIfkE
CRQACAAsAgABABAADQAABEoQIUOrpXIOwrsPxiQUheeRAgUA49YNhbCqK1kS9grQhXGAhsDBUJgZ
AL2Dcqkk7ogFpvRAokSn0p4PO6UIuUsQggSmFjKXdAgRAQAh+QQFCgAIACwAAAAAFAAPAAAEEhDJ
Sau9OOvNu/9gKI5kaZ5oBAAh+QQJFAAIACwCAAEAEAANAAAEShAhQ6ulcg7Cuw/GJBSF55ECBQDj
1g2FsKorWRL2CtCFcYCGwMFQmBkAvYNyqSTuiAWm9ECiRKfSng87pQi5SxCCBKYWMpd0CBEBACH5
BAVkAAgALAAAAAAUAA8AAAQSEMlJq7046827/2AojmRpnmgEADs=

--------------Boundary-00=_FO59BHK0000000000000--