[Zope] PCGI and WebDAV?

Greg Fischer gfischer@techgroupinc.com
Mon, 9 Sep 2002 17:17:43 -0700


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2585F.7BAE1C11
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I just setup Apache on Win2000 with PCGI access to Zope. I am using=20

mod_auth_sspi to authenticate users. It works great, but I ran into=20

a problem. How do I get my WebDav to work now?

In order to setup Apache to authenticate you must put the server=20

into REMOTE_USER mode. I noticed that the users I create in Zope=20

now do now have passwords anymore. This is fine, Apache is taking=20

care of that, but, now Zope wont authenticate by itself.

This is what I used to setup the authentication.

<Location /cgi-bin/Zope.cgi>

AuthType SSPI

SSPIAuth On

SSPIAuthoritative On

require group "DOMAIN\GroupName"=20

</Location>

=20

If I add the DAV portion to Apache, it still wont work. The errors=20

say "Unable to Authenticate."

I do have the mod_dav enabled. I added this to the Location above:

DavLockDB c:/temp/davlock

Dav on

Thanks for any help you may have.

Greg Fischer

sysman@techgroupinc.com
=20

------_=_NextPart_001_01C2585F.7BAE1C11
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT size=3D2>
<P>I just setup Apache on Win2000 with PCGI access to Zope. I am using =
</P>
<P>mod_auth_sspi to authenticate users. It works great, but I ran into =
</P>
<P>a problem. How do I get my WebDav to work now?</P>
<P>In order to setup Apache to authenticate you must put the server </P>
<P>into REMOTE_USER mode. I noticed that the users I create in Zope </P>
<P>now do now have passwords anymore. This is fine, Apache is taking =
</P>
<P>care of that, but, now Zope wont authenticate by itself.</P>
<P>This is what I used to setup the authentication.</P>
<P>&lt;Location /cgi-bin/Zope.cgi&gt;</P>
<P>AuthType SSPI</P>
<P>SSPIAuth On</P>
<P>SSPIAuthoritative On</P>
<P>require group "DOMAIN\GroupName" </P>
<P>&lt;/Location&gt;</P>
<P>&nbsp;</P>
<P>If I add the DAV portion to Apache, it still wont work. The errors =
</P>
<P>say "Unable to Authenticate."</P>
<P>I do have the mod_dav enabled. I added this to the Location =
above:</P>
<P>DavLockDB c:/temp/davlock</P>
<P>Dav on</P>
<P>Thanks for any help you may have.</P></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Greg Fischer</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><BR><SPAN =
class=3D038585723-09092002><A=20
href=3D"mailto:sysman@techgroupinc.com">sysman@techgroupinc.com</A></SPAN=
></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2></FONT></DIV></DIV></BODY></HTML>

------_=_NextPart_001_01C2585F.7BAE1C11--