You are not logged in.

#1 2006-08-12 09:29:56

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

can't mount Apache WebDAV share in XP [solved at last]

I recently set up a WebDAV share on my http server (Apache 2.2) running Arch Linux, of course.

I can access it without problem from my Linux laptop and also from OS X Tiger, however my friends cannot mount the share in Win XP (Open as Web Folder). They can access the server and browse the content as a web page, similar to how Firefox handels WebDAV (that is, not at all), but cannot access the folders in Explorer as if it were mounted.

From one of these XP machines I did succeed in accessing a different WebDAV folder, one hosted by my provider, so I am convinced my server is not configured properly to allow Windows to mount it.

Apart from php5 all modules are being loaded. Here is part of the server config:

DAVLockDB /var/log/httpd/DavLock/DavLockDB
<Location>
Order Allow,Deny
Allow from all
DAV On
AuthType Basic
AuthName "WebDAV"
AuthUserFile /etc/httpd/conf/passwd
Require user guest
</Location>

<Directory>
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

Can anyone help me here?

Offline

#2 2006-08-12 14:22:47

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: can't mount Apache WebDAV share in XP [solved at last]

Windows DAV support is known to be buggy (like everything else from MS).

In my httpd.conf I've had these:
#
# The following directive disables redirects on non-GET requests for
# a directory that does not include the trailing slash.  This fixes a
# problem with Microsoft WebFolders which does not appropriately handle
# redirects for folders with DAV methods.
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
#
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully


Do you have it? Does it help?

Offline

#3 2006-08-22 19:32:27

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: can't mount Apache WebDAV share in XP [solved at last]

I put this in there:

#
# Broken WebDAV for Windows XP
#
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "Microsoft-WebDAV-MiniRedir/5.1.2600" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS" redirect-carefully

but it didn't help.

Offline

#4 2006-08-27 20:54:41

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: can't mount Apache WebDAV share in XP [solved at last]

got it! eventually I stumbled upon a site where the following was mentioned:

When connecting over non-SSL connections, append a "/#" to the URL here. Windows XP has two built-in methods for connecting via WebDAV. Appending /# is a workaround that forces the use of the Web Folder Client connection, which will authenticate successfully to the WebDav-enabled folder as configured here.

of all the tricks I attempted, I should have come up with this combination as well!

Offline

Board footer

Powered by FluxBB