summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_dav.xml
diff options
context:
space:
mode:
authorJoshua Slive <slive@apache.org>2006-08-22 19:07:54 +0200
committerJoshua Slive <slive@apache.org>2006-08-22 19:07:54 +0200
commit86319c427decd99903aa849eb61f4881d6429602 (patch)
treee7b29cc8ee12a546690438d147393aaa3db4b4e6 /docs/manual/mod/mod_dav.xml
parentMy last effort was a little too succinct and not quite precise (diff)
downloadapache2-86319c427decd99903aa849eb61f4881d6429602.tar.xz
apache2-86319c427decd99903aa849eb61f4881d6429602.zip
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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@433694 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_dav.xml')
-rw-r--r--docs/manual/mod/mod_dav.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual/mod/mod_dav.xml b/docs/manual/mod/mod_dav.xml
index 717189cf0f..e387c40b6a 100644
--- a/docs/manual/mod/mod_dav.xml
+++ b/docs/manual/mod/mod_dav.xml
@@ -79,7 +79,7 @@
<example><title>Full Example</title>
DavLockDB /usr/local/apache2/var/DavLock<br />
<br />
- &lt;Location /foo&gt;<br />
+ &lt;Directory /usr/local/apache2/htdocs/foo&gt;<br />
<indent>
Order Allow,Deny<br />
Allow from all<br />
@@ -89,13 +89,13 @@
AuthName DAV<br />
AuthUserFile user.passwd<br />
<br />
- &lt;LimitExcept GET OPTIONS&gt;<br />
+ &lt;LimitExcept GET POST OPTIONS&gt;<br />
<indent>
require user admin<br />
</indent>
&lt;/LimitExcept&gt;<br />
</indent>
- &lt;/Location&gt;<br />
+ &lt;/Directory&gt;<br />
</example>
<p><module>mod_dav</module> is a descendent of Greg Stein's <a