From: Jan Rękorajski Date: Tue, 19 Jan 2010 14:01:14 +0000 (+0000) Subject: - comment out examples (think what happens if someone already has an /upload) X-Git-Tag: auto/th/apache-2_2_14-14~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fapache.git;a=commitdiff_plain;h=065dfdcf9800f855fdf5f05eccbd9d9af80802d8 - comment out examples (think what happens if someone already has an /upload) Changed files: apache-mod_dav.conf -> 1.10 --- diff --git a/apache-mod_dav.conf b/apache-mod_dav.conf index c0587c0..f1704fe 100644 --- a/apache-mod_dav.conf +++ b/apache-mod_dav.conf @@ -10,9 +10,9 @@ LoadModule dav_lock_module modules/mod_dav_lock.so # 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 +21,22 @@ 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 user admin +# +# # # The following directives disable redirects on non-GET requests for @@ -44,12 +44,12 @@ 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.[0123]" redirect-carefully +#BrowserMatch "^gnome-vfs/1.0" redirect-carefully +#BrowserMatch "^XML Spy" redirect-carefully +#BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully + +#