httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1335951 - /httpd/httpd/trunk/docs/manual/rewrite/access.xml
Date Wed, 09 May 2012 07:19:41 GMT
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>



Mime
View raw message