From: Rich Bowen Date: Wed, 9 May 2012 00:40:26 +0000 (+0000) Subject: Rebuild X-Git-Tag: 2.4.3~467 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7890b9927a87b6587afc4ec9a0dafabe2ca94f71;p=apache Rebuild git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1335864 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/access.html.en b/docs/manual/rewrite/access.html.en index f0c6a0d9b8..57c284aa61 100644 --- a/docs/manual/rewrite/access.html.en +++ b/docs/manual/rewrite/access.html.en @@ -80,9 +80,9 @@ configuration.
-RewriteCond %{HTTP_REFERER} !^$
+RewriteCond %{HTTP_REFERER} !^$
 RewriteCond %{HTTP_REFERER} !www.example.com [NC]
-RewriteRule \.(gif|jpg|png)$    -   [F,NC]
+RewriteRule \.(gif|jpg|png)$    -   [F,NC]
 
@@ -90,9 +90,9 @@ RewriteRule \.(gif|jpg|png)$ - [F,NC] an alternate image instead.

-RewriteCond %{HTTP_REFERER} !^$
+RewriteCond %{HTTP_REFERER} !^$
 RewriteCond %{HTTP_REFERER} !www.example.com [NC]
-RewriteRule \.(gif|jpg|png)$    /images/go-away.png   [R,NC]
+RewriteRule \.(gif|jpg|png)$    /images/go-away.png   [R,NC]
 
@@ -100,9 +100,9 @@ RewriteRule \.(gif|jpg|png)$ /images/go-away.png [R,NC] other site.

-RewriteCond %{HTTP_REFERER} !^$
+RewriteCond %{HTTP_REFERER} !^$
 RewriteCond %{HTTP_REFERER} !www.example.com [NC]
-RewriteRule \.(gif|jpg|png)$ http://other.example.com/image.gif   [R,NC]
+RewriteRule \.(gif|jpg|png)$ http://other.example.com/image.gif   [R,NC]
 
@@ -122,9 +122,7 @@ RewriteRule \.(gif|jpg|png)$ http://other.example.com/image.gif
 SetEnvIf Referer example\.com localreferer
 <FilesMatch \.(jpg|png|gif)$>
-	Order deny,allow
-	Deny from all
-	Allow from env=localreferer
+    Require env localreferer
 </FilesMatch>
         
@@ -171,9 +169,9 @@ SetEnvIf Referer example\.com localreferer particular source.

-RewriteCond %{HTTP_USER_AGENT}   ^NameOfBadRobot
-RewriteCond %{REMOTE_ADDR}       =123\.45\.67\.[8-9]
-RewriteRule ^/secret/files/   -   [F]
+RewriteCond %{HTTP_USER_AGENT}   ^NameOfBadRobot
+RewriteCond %{REMOTE_ADDR}       =123\.45\.67\.[8-9]
+RewriteRule ^/secret/files/   -   [F]
 
@@ -188,9 +186,7 @@ RewriteRule ^/secret/files/ - [F]
 SetEnvIfNoCase User-Agent ^NameOfBadRobot goaway
 <Location /secret/files>
-    Order allow,deny
-    Allow from all
-    Deny from env=goaway
+    Require not env goaway
 </Location>