[Zope] Zope with Apache in Win2k

Emmanouil Magkos emagos@ionio.gr
Thu, 15 May 2003 12:10:31 +0300


This is a multi-part message in MIME format.

------=_NextPart_000_00D0_01C31ADA.FB1D4CE0
Content-Type: text/plain;
	charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

I just installed the Zope program on a win2k server, with Apache Web =
server. I used PCGI for passing authentication information to Zope, via =
Apache. However, Zope will not accept my admin username and password. =
Here are the steps I have followed:

1) Zope install as a win2k Service
2) In Apache conf file, ScriptAlias the Zope directory (where zope.cgi =
is).
3) Rename Zope.cgi to Zope.pcgi  (Assigning read-execute permissions)
4) gp to the Registry, and transform:

\Services\Zope\parameters\start "D:\..\python.exe" "D:\...\zope\z2.py" =
-S

                                    into

"D:\..\python.exe" "D:\...\zope\z2.py" -S -p "D:\...\zope\zope.pcgi"=20

After restarting my system, pointed my browser to =
http://localhost/zope/zope.pcgi/manage , asked me for username and =
paswd, and REFUSED to let me in.


Have I missed something here???? Any help would be appreciated..

Manos



------=_NextPart_000_00D0_01C31ADA.FB1D4CE0
Content-Type: text/html;
	charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-7">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I just installed the Zope program on a =
win2k=20
server, with Apache Web server. I used PCGI for passing authentication=20
information to Zope, via Apache. However, Zope will not accept my admin =
username=20
and password.&nbsp;Here are the steps&nbsp;I have followed:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1) Zope install&nbsp;as a win2k=20
Service</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2) In Apache conf file, ScriptAlias the =
Zope=20
directory (where zope.cgi is).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>3) Rename Zope.cgi to Zope.pcgi&nbsp; =
(Assigning=20
read-execute permissions)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>4) gp to the Registry, and =
transform:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>\Services\Zope\parameters\start =
"D:\..\python.exe"=20
"D:\...\zope\z2.py" -S</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
into</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"D:\..\python.exe" "D:\...\zope\z2.py" =
-S&nbsp;-p=20
"D:\...\zope\zope.pcgi"&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>After restarting my system, pointed my =
browser to=20
<A=20
href=3D"http://localhost/zope/zope.pcgi/manage">http://localhost/zope/zop=
e.pcgi/manage</A>=20
, asked me for username and paswd, and REFUSED to let me =
in.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Have I missed something here???? Any =
help would be=20
appreciated..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Manos</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_00D0_01C31ADA.FB1D4CE0--