httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1335863 - /httpd/httpd/branches/2.4.x/docs/manual/rewrite/access.xml
Date Wed, 09 May 2012 00:39:50 GMT
Author: rbowen
Date: Wed May  9 00:39:50 2012
New Revision: 1335863

URL: http://svn.apache.org/viewvc?rev=1335863&view=rev
Log:
2.4 authz syntax

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/rewrite/access.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/rewrite/access.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/rewrite/access.xml?rev=1335863&r1=1335862&r2=1335863&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/rewrite/access.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/rewrite/access.xml Wed May  9 00:39:50 2012
@@ -123,9 +123,7 @@ RewriteRule \.(gif|jpg|png)$ http://othe
         <highlight language="config">
 SetEnvIf Referer example\.com localreferer
 &lt;FilesMatch \.(jpg|png|gif)$&gt;
-	Order deny,allow
-	Deny from all
-	Allow from env=localreferer
+    Require env localreferer
 &lt;/FilesMatch&gt;
         </highlight>
         </dd>
@@ -187,9 +185,7 @@ RewriteRule ^/secret/files/   -   [F]
       <highlight language="config">
 SetEnvIfNoCase User-Agent ^NameOfBadRobot goaway
 &lt;Location /secret/files&gt;
-    Order allow,deny
-    Allow from all
-    Deny from env=goaway
+    Require not env goaway
 &lt;/Location&gt;
       </highlight>
       <p>



Mime
View raw message