X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache-mod_dav.conf;h=46b3f4c22f2d551e7a78c75f6b85f4f48606ec5c;hb=57d3db8d410725a96fc59efc18fa4e8e1b5c9e39;hp=96c207c30aa0f20ca9e9347eba37803eb17829ce;hpb=9d781f9b61ca1b0bf09e2316d09f0b98f99e67f3;p=packages%2Fapache.git diff --git a/apache-mod_dav.conf b/apache-mod_dav.conf index 96c207c..46b3f4c 100644 --- a/apache-mod_dav.conf +++ b/apache-mod_dav.conf @@ -1,14 +1,56 @@ -LoadModule dav_module lib/apache/mod_dav.so -LoadModule dav_fs_module lib/apache/mod_dav_fs.so - - - DavLockDB /var/lock/mod_dav - DavMinTimeout 600 -# -# Options None -# Dav On -# -# Require user greg -# -# - +LoadModule dav_module modules/mod_dav.so +LoadModule dav_fs_module modules/mod_dav_fs.so +LoadModule dav_lock_module modules/mod_dav_lock.so + +# +# Distributed authoring and versioning (WebDAV) +# +# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias +# mod_auth_digest, mod_authn_file +# + +# +# DavLockDB /var/lock/mod_dav/dav +# DavMinTimeout 600 + +# The following example gives DAV write access to a directory called +# "uploads" under the ServerRoot directory. +# +# The User/Group specified in httpd.conf needs to have write permissions +# on the directory where the DavLockDB is placed and on any directory where +# "Dav On" is specified. + +#Alias /uploads "/etc/httpd/httpd/uploads" +# +# Dav On +# +# AuthType Digest +# AuthName DAV-upload +# # You can use the htdigest program to create the password database: +# # htdigest -c "/etc/httpd/httpd/user.passwd" DAV-upload admin +# AuthUserFile "/etc/httpd/httpd/user.passwd" +# +# # Allow universal read-access, but writes are restricted +# # to the admin user. +# +# Require method GET POST OPTIONS +# Require user admin +# +# + +# +# The following directives disable redirects on non-GET requests for +# a directory that does not include the trailing slash. This fixes a +# problem with several clients that do not appropriately handle +# redirects for folders with DAV methods. +# +#BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully +#BrowserMatch "MS FrontPage" redirect-carefully +#BrowserMatch "^WebDrive" redirect-carefully +#BrowserMatch "^WebDAVFS/1.[01234]" redirect-carefully +#BrowserMatch "^gnome-vfs/1.0" redirect-carefully +#BrowserMatch "^XML Spy" redirect-carefully +#BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully +#BrowserMatch " Konqueror/4" redirect-carefully + +#