]> git.pld-linux.org Git - packages/apache1-mod_dav.git/blame - apache-mod_dav.conf
- apxs1 in apache1-devel now
[packages/apache1-mod_dav.git] / apache-mod_dav.conf
CommitLineData
59d863f0 1# $Id$
e67cdf50
ER
2LoadModule dav_module modules/mod_dav.so
3LoadModule dav_fs_module modules/mod_dav_fs.so
4LoadModule dav_lock_module modules/mod_dav_lock.so
cfab4a43 5
66c31d58
ER
6#
7# Distributed authoring and versioning (WebDAV)
8#
9# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
e67cdf50 10# mod_auth_digest, mod_authn_file
66c31d58
ER
11#
12
ff400da5 13<IfModule mod_dav.c>
ffd18075 14 DavLockDB /var/lock/mod_dav/dav
cfab4a43 15 DavMinTimeout 600
66c31d58
ER
16
17# The following example gives DAV write access to a directory called
18# "uploads" under the ServerRoot directory.
19#
20# The User/Group specified in httpd.conf needs to have write permissions
21# on the directory where the DavLockDB is placed and on any directory where
22# "Dav On" is specified.
23
24Alias /uploads "/etc/httpd/httpd/uploads"
25<Directory "/etc/httpd/httpd/uploads">
e67cdf50
ER
26 Dav On
27
28 AuthType Digest
29 AuthName DAV-upload
30 # You can use the htdigest program to create the password database:
31 # htdigest -c "/etc/httpd/httpd/user.passwd" DAV-upload admin
32 AuthUserFile "/etc/httpd/httpd/user.passwd"
33
34 # Allow universal read-access, but writes are restricted
35 # to the admin user.
36 <LimitExcept GET OPTIONS>
37 require user admin
38 </LimitExcept>
66c31d58
ER
39</Directory>
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#
47BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
48BrowserMatch "MS FrontPage" redirect-carefully
49BrowserMatch "^WebDrive" redirect-carefully
50BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
51BrowserMatch "^gnome-vfs/1.0" redirect-carefully
52BrowserMatch "^XML Spy" redirect-carefully
53BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
54
ff400da5 55</IfModule>
This page took 0.070402 seconds and 4 git commands to generate.