Skip to content

Instantly share code, notes, and snippets.

@ap
Created October 17, 2008 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ap/17404 to your computer and use it in GitHub Desktop.
Save ap/17404 to your computer and use it in GitHub Desktop.
minimal Apache WebDAV configuration
# this is actually a collage of bits from various config files
LoadModule dav_module lib/httpd/modules/mod_dav.so
LoadModule dav_fs_module lib/httpd/modules/mod_dav_fs.so
DavLockDB "/var/db/httpd/davlock"
# the following BrowserMatch lines were part of the sample config from the Slackware Apache package
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
<VirtualHost *>
ServerName cloud.plasmasturm.org
DocumentRoot /home/www/cloud/www
Alias /favicon.ico /dev/null
<Directory /home/www/cloud/www>
Dav On
AuthType Digest
AuthName plasmasturm
AuthUserFile /home/www/htdigest
AuthDigestDomain /
Require user ap
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment