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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 161 - (show annotations) (download)
Tue Jun 5 13:39:58 2007 UTC (7 years, 3 months ago) by hollow
File MIME type: text/plain
File size: 1499 byte(s)
whitespace cleanup; configure DavLockDB even if no auth modules are loaded
1 <IfDefine DAV>
2 <IfModule dav_module>
3 <IfModule dav_fs_module>
4 DavLockDB "/var/lib/dav/lockdb"
5
6 # The following example gives DAV write access to a directory called
7 # "uploads" under the ServerRoot directory.
8 <IfModule alias_module>
9 <IfModule auth_digest_module>
10 <IfModule authn_file_module>
11 Alias /uploads "/var/www/uploads"
12
13 <Directory "/var/www/uploads">
14 Dav On
15
16 AuthType Digest
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"
21
22 # Allow universal read-access, but writes are restricted
23 # to the admin user.
24 <LimitExcept GET OPTIONS>
25 require user admin
26 </LimitExcept>
27 </Directory>
28 </IfModule>
29 </IfModule>
30 </IfModule>
31
32 </IfModule>
33 </IfModule>
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.
39 <IfModule setenvif_module>
40 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
41 BrowserMatch "MS FrontPage" redirect-carefully
42 BrowserMatch "^WebDrive" redirect-carefully
43 BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
44 BrowserMatch "^gnome-vfs/1.0" redirect-carefully
45 BrowserMatch "^XML Spy" redirect-carefully
46 BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
47 </IfModule>
48
49 </IfDefine>
50
51 # vim: ts=4 filetype=apache

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20