Windows – WebDAV and Windows 7, no write access

apache-2.2apache-2.4webdavwindowswindows 7

I have configured my Apache 2.4.10 with WebDAV:

DavLockDB "/etc/httpd/var/DavLock"

Alias /public "/srv/webdav/public"

<Directory "/srv/webdav/public">
Dav On

AllowOverride None
Options Indexes

AuthType Digest
AuthName 7ooo
AuthUserFile "/etc/httpd/user.passwd"
AuthDigestProvider file

    Require all granted

    Require user webdav

All necessary files and folders exist and have appropriate permissions.

If I connect to the WebDAV using Windows Explorer under Windows 7 64bit, I can read files and change to subdirectories. However, I can't write any new or existing files. Windows Explorer just hangs indefinitely. Same with notepad.

What's wrong with my config?

Strangely, other WebDAV clients such as cadaver or even an iPhone app are working perfectly.

Also, if I just put "Require all granted" (without Limit) in front of the LimitExcept clause, write access works fine (for all users, not just the user "webdav").

Best Answer

Does your apache logs show you are properly authenticated as the webdav user? Sounds like digest authentication may not be working properly.

Take a look at this blog post:

You may want to play with keepalive parameters (even more if you have proxies), but switching to HTTP Basic authentication / SSL would be simpler and not less secure.

Related Topic