source: npl/internetserver/apache_conf/root/etc/apache2/conf.d/httpd-dav.conf

Last change on this file was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2# Distributed authoring and versioning (WebDAV)
3#
4# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
5#                   mod_auth_digest, mod_authn_file
6#
7
8# The following example gives DAV write access to a directory called
9# "uploads" under the ServerRoot directory.
10#
11# The User/Group specified in httpd.conf needs to have write permissions
12# on the directory where the DavLockDB is placed and on any directory where
13# "Dav On" is specified.
14
15DavLockDB "/usr/var/DavLock"
16
17Alias /uploads "/usr/uploads"
18
19<Directory "/usr/uploads">
20    Dav On
21
22    AuthType Digest
23    AuthName DAV-upload
24    # You can use the htdigest program to create the password database:
25    #   htdigest -c "/usr/user.passwd" DAV-upload admin
26    AuthUserFile "/usr/user.passwd"
27
28    # Allow universal read-access, but writes are restricted
29    # to the admin user.
30    <LimitExcept GET OPTIONS>
31        require user admin
32    </LimitExcept>
33</Directory>
34
35#
36# The following directives disable redirects on non-GET requests for
37# a directory that does not include the trailing slash.  This fixes a
38# problem with several clients that do not appropriately handle
39# redirects for folders with DAV methods.
40#
41BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
42BrowserMatch "MS FrontPage" redirect-carefully
43BrowserMatch "^WebDrive" redirect-carefully
44BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
45BrowserMatch "^gnome-vfs/1.0" redirect-carefully
46BrowserMatch "^XML Spy" redirect-carefully
47BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
Note: See TracBrowser for help on using the repository browser.