You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/05/09 09:19:41 UTC

svn commit: r1335951 - /httpd/httpd/trunk/docs/manual/rewrite/access.xml

Author: humbedooh
Date: Wed May  9 07:19:40 2012
New Revision: 1335951

URL: http://svn.apache.org/viewvc?rev=1335951&view=rev
Log:
A negated requirement cannot stand alone in an implied RequireAny section.

Modified:
    httpd/httpd/trunk/docs/manual/rewrite/access.xml

Modified: httpd/httpd/trunk/docs/manual/rewrite/access.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/access.xml?rev=1335951&r1=1335950&r2=1335951&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/access.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/access.xml Wed May  9 07:19:40 2012
@@ -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>