]> granicus.if.org Git - apache/commitdiff
Merge r1555908 from trunk:
authorEric Covener <covener@apache.org>
Mon, 6 Jan 2014 16:45:29 +0000 (16:45 +0000)
committerEric Covener <covener@apache.org>
Mon, 6 Jan 2014 16:45:29 +0000 (16:45 +0000)
use authz_core instead of access_compat in example

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1555909 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/env.xml

index 513050d4dcab05fbd6382603f03a2f47391d1823..903914edfd7a6db1976f6f1c1b8c3888e47b701d 100644 (file)
         <module>mod_rewrite</module>
       </modulelist>
       <directivelist>
-        <directive module="mod_access_compat">Allow</directive>
+        <directive module="mod_authz_core">Require</directive>
         <directive module="mod_log_config">CustomLog</directive>
         <directive module="mod_access_compat">Deny</directive>
         <directive module="mod_ext_filter">ExtFilterDefine</directive>
@@ -517,9 +517,7 @@ SetEnvIf Referer "^http://www\.example\.com/" local_referal
 # Allow browsers that do not send Referer info
 SetEnvIf Referer "^$" local_referal
 &lt;Directory /web/images&gt;
-    Order Deny,Allow
-    Deny from all
-    Allow from env=local_referal
+    Require env local_referal
 &lt;/Directory&gt;
         </highlight>