[Zope] WebDrive V6 (&5?) and Zope

Paul Browning paul.browning at bristol.ac.uk
Wed May 26 01:35:19 EDT 2004


Question:
Is anyone using Webdrive V5 or V6 successfully with Zope?

Either I'm missing something obvious or WebDrive V6 (and V5?) has
become broken with Zope. Everything used to work for me
with WebDrive V3 and V4.

The following observations were made against Zope 2.7.0.

The problem:
You connect via WebDrive but you can't see
any objects in the right hand pane of Windows Explorer.

This happens for both anonymous and authenticated users
(I even briefly granted the anonymous users every Zope
permission - still no success).

If you Show Monitor in WebDrive you see a problem:

Connecting to http://zopebox.bris.ac.uk ...
OPTIONS / HTTP/1.1
Host: zopebox.bris.ac.uk
User-Agent: WebDrive/6.02 NT DAV
Translate: f
Connection: close
HTTP/1.1 200 OK
Server: Zope/(Zope 2.7.0, python 2.3.3, win32) ZServer/1.1
Date: Wed, 26 May 2004 04:58:20 GMT
Content-Length: 0
Connection: close
DAV: 1,2
Ms-Author-Via: DAV
Connection: close
Etag:
Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PROPFIND, PROPPATCH, 
MKCOL, COPY, MOVE, LOCK, UNLOCK
Date: Wed, 26 May 2004 04:58:20 GMT
Connected to http://zopebox.bris.ac.uk
Get directory /
Can't get directory
Get directory /
Can't get directory
etc
etc

If you force an authenticated connection from the Windows command line:

WebDrive.exe /s:"AAAtest" /u:paul /p:password 
/url:http://zopebox.bris.ac.uk /pr:1 /d:W /nosaveuserinfo /exp

you see in the Zope log just the one entry:

82.32.6.79 - Anonymous [26/May/2004:05:43:05 +0100] "OPTIONS / HTTP/1.1" 
200 355 "" "WebDrive/6.02 NT DAV"

Do the same thing from Cadaver (which works just fine) and you
see four transactions:

137.222.120.80 - Anonymous [26/May/2004:05:46:11 +0100] "OPTIONS / 
HTTP/1.1" 200 336 "" "cadaver/0.19.1 neon/0.18.3"
137.222.120.80 - Anonymous [26/May/2004:05:46:11 +0100] "PROPFIND / 
HTTP/1.1" 401 615 "" "cadaver/0.19.1 neon/0.18.3"
137.222.120.80 - paul [26/May/2004:05:46:15 +0100] "PROPFIND / HTTP/1.1" 
207 895 "" "cadaver/0.19.1 neon/0.18.3"
137.222.120.80 - paul [26/May/2004:05:46:16 +0100] "PROPFIND / HTTP/1.1" 
207 10935 "" "cadaver/0.19.1 neon/0.18.3"

Now I'm no WebDAV guru but it would seem that Anonymous needs to do a 
PROPFIND
before a successful authenticated user access can occur - and this is not
happening with WebDrive V5/6 against Zope.

Any insights appreciated.

Thanks

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
     E-mail: paul.browning at bris.ac.uk  URL: http://www.bris.ac.uk/





More information about the Zope mailing list