/[apache]/trunk/dist/2.2/conf/modules.d/45_mod_dav.conf
Gentoo

Diff of /trunk/dist/2.2/conf/modules.d/45_mod_dav.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 160 Revision 161
1<IfDefine DAV> 1<IfDefine DAV>
2 <IfModule dav_module> 2<IfModule dav_module>
3 <IfModule dav_fs_module> 3<IfModule dav_fs_module>
4 <IfModule alias_module> 4DavLockDB "/var/lib/dav/lockdb"
5 <IfModule auth_digest_module>
6 <IfModule authn_file_module>
7 # Distributed authoring and versioning (WebDAV)
8 5
9 # The following example gives DAV write access to a directory called 6# The following example gives DAV write access to a directory called
10 # "uploads" under the ServerRoot directory. 7# "uploads" under the ServerRoot directory.
8<IfModule alias_module>
9<IfModule auth_digest_module>
10<IfModule authn_file_module>
11Alias /uploads "/var/www/uploads"
11 12
12 # The User/Group specified in httpd.conf needs to have write permissions 13<Directory "/var/www/uploads">
13 # on the directory where the DavLockDB is placed and on any directory where 14 Dav On
14 # "Dav On" is specified.
15 15
16 DavLockDB "/var/lib/dav/lockdb" 16 AuthType Digest
17 Alias /uploads "/var/www/uploads" 17 AuthName DAV-upload
18 # You can use the htdigest program to create the password database:
19 # htdigest -c "/var/www/.htpasswd-dav" DAV-upload admin
20 AuthUserFile "/var/www/.htpasswd-dav"
18 21
19 <Directory "/var/www/uploads">
20 Dav On
21 AuthType Digest
22 AuthName DAV-upload
23 # You can use the htdigest program to create the password database:
24 # htdigest -c "/var/www/.htpasswd-dav" DAV-upload admin
25 AuthUserFile "/var/www/.htpasswd-dav"
26
27 # Allow universal read-access, but writes are restricted 22 # Allow universal read-access, but writes are restricted
28 # to the admin user. 23 # to the admin user.
29 <LimitExcept GET OPTIONS> 24 <LimitExcept GET OPTIONS>
30 require user admin 25 require user admin
31 </LimitExcept> 26 </LimitExcept>
32 </Directory> 27</Directory>
33 </IfModule>
34 </IfModule>
35 </IfModule>
36 </IfModule>
37 </IfModule> 28</IfModule>
29</IfModule>
30</IfModule>
38 31
39 # The following directives disable redirects on non-GET requests for 32</IfModule>
40 # a directory that does not include the trailing slash. This fixes a 33</IfModule>
41 # problem with several clients that do not appropriately handle
42 # redirects for folders with DAV methods.
43 34
35# The following directives disable redirects on non-GET requests for
36# a directory that does not include the trailing slash. This fixes a
37# problem with several clients that do not appropriately handle
38# redirects for folders with DAV methods.
44 <IfModule setenvif_module> 39<IfModule setenvif_module>
45 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully 40BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
46 BrowserMatch "MS FrontPage" redirect-carefully 41BrowserMatch "MS FrontPage" redirect-carefully
47 BrowserMatch "^WebDrive" redirect-carefully 42BrowserMatch "^WebDrive" redirect-carefully
48 BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully 43BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
49 BrowserMatch "^gnome-vfs/1.0" redirect-carefully 44BrowserMatch "^gnome-vfs/1.0" redirect-carefully
50 BrowserMatch "^XML Spy" redirect-carefully 45BrowserMatch "^XML Spy" redirect-carefully
51 BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully 46BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
52 </IfModule> 47</IfModule>
48
53</IfDefine> 49</IfDefine>
54 50
55# vim: ts=4 filetype=apache 51# vim: ts=4 filetype=apache

Legend:
Removed from v.160  
changed lines
  Added in v.161

  ViewVC Help
Powered by ViewVC 1.1.20