~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to docs/conf/extra/httpd-dav.conf.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
15
DavLockDB "@@ServerRoot@@/var/DavLock"
 
16
 
 
17
Alias /uploads "@@ServerRoot@@/uploads"
 
18
 
 
19
<Directory "@@ServerRoot@@/uploads">
 
20
    Dav On
 
21
 
 
22
    Order Allow,Deny
 
23
    Allow from all
 
24
 
 
25
    AuthType Digest
 
26
    AuthName DAV-upload
 
27
    # You can use the htdigest program to create the password database:
 
28
    #   htdigest -c "@@ServerRoot@@/user.passwd" DAV-upload admin
 
29
    AuthUserFile "@@ServerRoot@@/user.passwd"
 
30
 
 
31
    # Allow universal read-access, but writes are restricted
 
32
    # to the admin user.
 
33
    <LimitExcept GET OPTIONS>
 
34
        require user admin
 
35
    </LimitExcept>
 
36
</Directory>
 
37
 
 
38
#
 
39
# The following directives disable redirects on non-GET requests for
 
40
# a directory that does not include the trailing slash.  This fixes a 
 
41
# problem with several clients that do not appropriately handle 
 
42
# redirects for folders with DAV methods.
 
43
#
 
44
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
 
45
BrowserMatch "MS FrontPage" redirect-carefully
 
46
BrowserMatch "^WebDrive" redirect-carefully
 
47
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
 
48
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
 
49
BrowserMatch "^XML Spy" redirect-carefully
 
50
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully