]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
bz69840 - Improve security posture of mod_dav example, and update to 2.4 syntax.
authorRich Bowen <rbowen@apache.org>
Wed, 18 Mar 2026 20:46:00 +0000 (20:46 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 18 Mar 2026 20:46:00 +0000 (20:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1932374 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_dav.xml

index e4ee64f6beaee1d4e6bf8c1c2471884770d833c1..c7de84f7848b37018194cfed1354b632167e843e 100644 (file)
@@ -66,16 +66,16 @@ Dav On
     <example><title>Full Example</title>
     <highlight language="config">
 &lt;Directory "/usr/local/apache2/htdocs/foo"&gt;
-    Require all granted
     Dav On
 
     AuthType Basic
     AuthName "DAV"
     AuthUserFile "user.passwd"
 
-    &lt;LimitExcept GET POST OPTIONS&gt;
+    &lt;RequireAny&gt;
+        Require method GET POST OPTIONS
         Require user admin
-    &lt;/LimitExcept&gt;
+    &lt;/RequireAny&gt;
 &lt;/Directory&gt;
       </highlight>
     </example>