httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1525359 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml
Date Sun, 22 Sep 2013 13:50:59 GMT
Author: rbowen
Date: Sun Sep 22 13:50:59 2013
New Revision: 1525359

URL: http://svn.apache.org/r1525359
Log:
2.4 syntax instead of order/allow/deny

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml?rev=1525359&r1=1525358&r2=1525359&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_macro.xml Sun Sep 22 13:50:59 2013
@@ -127,15 +127,11 @@ UndefMacro DirGroup
 
     <highlight language="config">
 &lt;Macro LocalAccessPolicy&gt;
-  order deny,allow
-  deny from all
-  allow from 10.2.16.0/24
+    Require ip 10.2.16.0/24
 &lt;/Macro&gt;
 
 &lt;Macro RestrictedAccessPolicy $ipnumbers&gt;
-   order deny,allow
-   deny from all
-   allow from $ipnumbers
+    Require ip $ipnumbers
 &lt;/Macro&gt;
     </highlight>
 </usage>
@@ -169,13 +165,9 @@ Use RestrictedAccessPolicy "192.54.172.0
     <p>is equivalent, with the macros defined above, to:</p>
 
     <highlight language="config">
-order deny,allow
-deny from all
-allow from 10.2.16.0/24
+Require ip 10.2.16.0/24
 ...
-order deny,allow
-deny from all
-allow from 192.54.172.0/24 192.54.148.0/24
+Require ip 192.54.172.0/24 192.54.148.0/24
     </highlight>
 </usage>
 </directivesynopsis>



Mime
View raw message