commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@apache.org>
Subject Re: [vfs] webdav to IIS
Date Mon, 13 Jun 2005 14:12:09 GMT
Unfortunately we've some trouble when accessing
an IIS 6.0 server while mod_dav works just fine.

As a little testcase we try to upload and later
on delete a file on the server.

I've turned on the wire debugging on the http
client and found quite a few differences between
IIS and mod_dav handling the requests.


Here is a summary of what's going on for the mod_dav:

 >> "OPTIONS /DL/test/torsten.bla HTTP/1.1[\r][\n]"
 << "DAV: 1,2[\r][\n]"
 << "DAV: <http://apache.org/dav/propset/fs/1>[\r][\n]"
 << "MS-Author-Via: DAV[\r][\n]"
 << "Allow: OPTIONS,MKCOL,PUT,LOCK[\r][\n]"
 >> "OPTIONS /DL/test HTTP/1.1[\r][\n]"
 << "HTTP/1.1 301 Moved Permanently[\r][\n]"
 >> "OPTIONS /ManageSoftDL/test/ HTTP/1.1[\r][\n]"
 << "HTTP/1.1 200 OK[\r][\n]"
 ...

And now the IIS:

 >> "OPTIONS /DL/test/torsten.bla HTTP/1.1[\r][\n]"
 << "DASL: <DAV:sql>[\r][\n]"
 << "DAV: 1, 2[\r][\n]"
 << "Public: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST, COPY, MOVE,
MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, SEARCH[\r][\n]"
 << "Allow: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, MKCOL, LOCK,
UNLOCK[\r][\n]"
 >> "PROPFIND /DL/test/torsten.bla HTTP/1.1[\r][\n]"
 >> "Content-Length: 288[\r][\n]"
 >> "Depth: 1[\r][\n]"
 >> "[\r][\n]"
 >> "<?xml version="1.0" encoding="utf-8" ?><D:propfind xmlns:D="DA
V:"><D:prop><D:creationdate/><D:displayname/><D:getcontentlanguage/><D:getcontent
length/><D:getcontenttype/><D:getetag/><D:getlastmodified/><D:lockdiscovery/><D:r
esourcetype/><D:source/><D:supportedlock/></D:prop></D:propfind>"
 << "HTTP/1.1 404 Resource Not Found[\r][\n]"
 ...

While the communication continues with mod_dav
after the redirect everything fails with the IIS
after the 404.

Any idea? Or should I ask over at Slide?

cheers
--
Torsten

Mime
View raw message