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

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

Author: rbowen
Date: Wed May  9 00:34:09 2012
New Revision: 1335860

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

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=1335860&r1=1335859&r2=1335860&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/access.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/access.xml Wed May  9 00:34:09 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>