DavLockDB "/var/lib/dav/lockdb" # The following example gives DAV write access to a directory called # "uploads" under the ServerRoot directory. Alias /uploads "/var/www/uploads" Dav On AuthType Digest AuthName DAV-upload # You can use the htdigest program to create the password database: # htdigest -c "/var/www/.htpasswd-dav" DAV-upload admin AuthUserFile "/var/www/.htpasswd-dav" # Allow access from any host Order allow,deny Allow from all # Allow universal read-access, but writes are restricted # to the admin user. require user admin # The following directives disable redirects on non-GET requests for # a directory that does not include the trailing slash. This fixes a # problem with several clients that do not appropriately handle # redirects for folders with DAV methods. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "MS FrontPage" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[012345]" redirect-carefully BrowserMatch "^gnome-vfs/1.0" redirect-carefully BrowserMatch "^XML Spy" redirect-carefully BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully # vim: ts=4 filetype=apache