You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2006/08/22 19:07:54 UTC
svn commit: r433694 - in /httpd/httpd/trunk/docs:
conf/extra/httpd-dav.conf.in manual/mod/mod_dav.xml
Author: slive
Date: Tue Aug 22 10:07:54 2006
New Revision: 433694
URL: http://svn.apache.org/viewvc?rev=433694&view=rev
Log:
Allow the typical non-DAV methods to be unrestricted
in our DAV examples (in particular, POST). Also
change <Location> to <Directory> in the docs. This
particular example was not a security problem because
<Location> was being used to *extend* access, rather than
to *restrict* access, but it is better to encourage
people to use <Directory> by default.
PR: 40030
Modified:
httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in
httpd/httpd/trunk/docs/manual/mod/mod_dav.xml
Modified: httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in?rev=433694&r1=433693&r2=433694&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in (original)
+++ httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in Tue Aug 22 10:07:54 2006
@@ -28,7 +28,7 @@
# Allow universal read-access, but writes are restricted
# to the admin user.
- <LimitExcept GET OPTIONS>
+ <LimitExcept GET POST OPTIONS>
require user admin
</LimitExcept>
</Directory>
Modified: httpd/httpd/trunk/docs/manual/mod/mod_dav.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_dav.xml?rev=433694&r1=433693&r2=433694&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_dav.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_dav.xml Tue Aug 22 10:07:54 2006
@@ -79,7 +79,7 @@
<example><title>Full Example</title>
DavLockDB /usr/local/apache2/var/DavLock<br />
<br />
- <Location /foo><br />
+ <Directory /usr/local/apache2/htdocs/foo><br />
<indent>
Order Allow,Deny<br />
Allow from all<br />
@@ -89,13 +89,13 @@
AuthName DAV<br />
AuthUserFile user.passwd<br />
<br />
- <LimitExcept GET OPTIONS><br />
+ <LimitExcept GET POST OPTIONS><br />
<indent>
require user admin<br />
</indent>
</LimitExcept><br />
</indent>
- </Location><br />
+ </Directory><br />
</example>
<p><module>mod_dav</module> is a descendent of Greg Stein's <a