summaryrefslogtreecommitdiffstats
path: root/dav.conf
diff options
context:
space:
mode:
authorJamie Nguyen <j@jamielinux.com>2018-07-16 11:04:01 +0100
committerJamie Nguyen <j@jamielinux.com>2018-07-16 11:04:01 +0100
commit6e477d0a27af629be8f0fdaa3aa36e5ef9351876 (patch)
tree429ac6e3c70d99c2a9711978d86333d0222bd752 /dav.conf
downloadapache-6e477d0a27af629be8f0fdaa3aa36e5ef9351876.tar.gz
apache-6e477d0a27af629be8f0fdaa3aa36e5ef9351876.tar.bz2
apache-6e477d0a27af629be8f0fdaa3aa36e5ef9351876.tar.xz
apache-6e477d0a27af629be8f0fdaa3aa36e5ef9351876.zip
Initial commit
Diffstat (limited to 'dav.conf')
-rw-r--r--dav.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/dav.conf b/dav.conf
new file mode 100644
index 0000000..caacd03
--- /dev/null
+++ b/dav.conf
@@ -0,0 +1,25 @@
+DavLockDB "/var/lib/dav/DavLock"
+Alias / "/var/lib/dav/data/"
+<Directory "/var/lib/dav/data/">
+ Dav On
+ Options Indexes FollowSymLinks
+
+ AuthType Basic
+ AuthName "WebDAV"
+ AuthUserFile "/user.passwd"
+ <RequireAny>
+ Require valid-user
+ </RequireAny>
+</Directory>
+
+# These disable redirects on non-GET requests for directories that
+# don't include the trailing slash (for misbehaving clients).
+BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
+BrowserMatch "MS FrontPage" redirect-carefully
+BrowserMatch "^WebDrive" redirect-carefully
+BrowserMatch "^WebDAVFS/1.[01234]" redirect-carefully
+BrowserMatch "^gnome-vfs/1.0" redirect-carefully
+BrowserMatch "^XML Spy" redirect-carefully
+BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
+BrowserMatch " Konqueror/4" redirect-carefully
+BrowserMatch "^gvfs" redirect-carefully