From 9c3cb1753533846dcc6fa6d725c953d72726f286 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Wed, 9 May 2012 00:39:50 +0000 Subject: [PATCH] 2.4 authz syntax git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1335863 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/rewrite/access.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/manual/rewrite/access.xml b/docs/manual/rewrite/access.xml index 34082b0d79..8a319dbfc3 100644 --- a/docs/manual/rewrite/access.xml +++ b/docs/manual/rewrite/access.xml @@ -123,9 +123,7 @@ RewriteRule \.(gif|jpg|png)$ http://other.example.com/image.gif [R,NC] SetEnvIf Referer example\.com localreferer <FilesMatch \.(jpg|png|gif)$> - Order deny,allow - Deny from all - Allow from env=localreferer + Require env localreferer </FilesMatch> @@ -187,9 +185,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>

-- 2.40.0