]> git.pld-linux.org Git - packages/apache.git/blame - apache-mod_dav.conf
- up to 2.4.59
[packages/apache.git] / apache-mod_dav.conf
CommitLineData
408714fc
ER
1LoadModule dav_module modules/mod_dav.so
2LoadModule dav_fs_module modules/mod_dav_fs.so
3LoadModule dav_lock_module modules/mod_dav_lock.so
9d781f9b 4
29d10253
ER
5#
6# Distributed authoring and versioning (WebDAV)
7#
8# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
408714fc 9# mod_auth_digest, mod_authn_file
29d10253
ER
10#
11
065dfdcf
JR
12#<IfModule mod_dav.c>
13# DavLockDB /var/lock/mod_dav/dav
14# DavMinTimeout 600
29d10253
ER
15
16# The following example gives DAV write access to a directory called
17# "uploads" under the ServerRoot directory.
18#
19# The User/Group specified in httpd.conf needs to have write permissions
20# on the directory where the DavLockDB is placed and on any directory where
21# "Dav On" is specified.
22
065dfdcf
JR
23#Alias /uploads "/etc/httpd/httpd/uploads"
24#<Directory "/etc/httpd/httpd/uploads">
25# Dav On
26#
27# AuthType Digest
28# AuthName DAV-upload
29# # You can use the htdigest program to create the password database:
30# # htdigest -c "/etc/httpd/httpd/user.passwd" DAV-upload admin
31# AuthUserFile "/etc/httpd/httpd/user.passwd"
32#
33# # Allow universal read-access, but writes are restricted
34# # to the admin user.
061ad5b2
AM
35# <RequireAny>
36# Require method GET POST OPTIONS
37# Require user admin
38# </RequireAny>
065dfdcf 39#</Directory>
29d10253
ER
40
41#
42# The following directives disable redirects on non-GET requests for
43# a directory that does not include the trailing slash. This fixes a
44# problem with several clients that do not appropriately handle
45# redirects for folders with DAV methods.
46#
065dfdcf
JR
47#BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
48#BrowserMatch "MS FrontPage" redirect-carefully
49#BrowserMatch "^WebDrive" redirect-carefully
061ad5b2 50#BrowserMatch "^WebDAVFS/1.[01234]" redirect-carefully
065dfdcf
JR
51#BrowserMatch "^gnome-vfs/1.0" redirect-carefully
52#BrowserMatch "^XML Spy" redirect-carefully
53#BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
061ad5b2 54#BrowserMatch " Konqueror/4" redirect-carefully
065dfdcf
JR
55
56#</IfModule>
This page took 0.169062 seconds and 4 git commands to generate.