]> granicus.if.org Git - apache/commitdiff
A negated requirement cannot stand alone in an implied RequireAny section.
authorDaniel Gruno <humbedooh@apache.org>
Wed, 9 May 2012 07:19:40 +0000 (07:19 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 9 May 2012 07:19:40 +0000 (07:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335951 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/access.xml

index 5af2ed665c7075b2be5e45583aae6a651580f9da..2d45a0bbe106e836f987ff5490f4088744475c79 100644 (file)
@@ -185,7 +185,10 @@ RewriteRule ^/secret/files/   -   [F]
       <highlight language="config">
 SetEnvIfNoCase User-Agent ^NameOfBadRobot goaway
 &lt;Location /secret/files&gt;
-    Require not env goaway
+    &lt;RequireAll&gt;
+        Require all granted
+        Require not env goaway
+    &lt;/RequireAll&gt;
 &lt;/Location&gt;
       </highlight>
       <p>