X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache-mod_dav.conf;h=46b3f4c22f2d551e7a78c75f6b85f4f48606ec5c;hb=ab007bc3d4891f5ebc930188a9dda60fdb5e4e65;hp=1ace8ea8e407cf21a6577263db69e665e0b937d7;hpb=046ff04fdca7592388d6c3ada400d0a1728efec7;p=packages%2Fapache.git diff --git a/apache-mod_dav.conf b/apache-mod_dav.conf index 1ace8ea..46b3f4c 100644 --- a/apache-mod_dav.conf +++ b/apache-mod_dav.conf @@ -1,18 +1,17 @@ -# $Id$ -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 +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 +# mod_auth_digest, mod_authn_file # - - DavLockDB /var/lock/mod_dav/dav - DavMinTimeout 600 +# +# DavLockDB /var/lock/mod_dav/dav +# DavMinTimeout 600 # The following example gives DAV write access to a directory called # "uploads" under the ServerRoot directory. @@ -21,22 +20,23 @@ LoadModule dav_lock_module modules/mod_dav_lock.so # 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 user admin - - +#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 @@ -44,12 +44,13 @@ Alias /uploads "/etc/httpd/httpd/uploads" # 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.[0123]" redirect-carefully -BrowserMatch "^gnome-vfs/1.0" redirect-carefully -BrowserMatch "^XML Spy" redirect-carefully -BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully - - +#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 + +#