httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1436403 - /httpd/httpd/trunk/docs/manual/mod/mod_macro.xml
Date Mon, 21 Jan 2013 15:12:02 GMT
Author: rbowen
Date: Mon Jan 21 15:12:02 2013
New Revision: 1436403

URL: http://svn.apache.org/viewvc?rev=1436403&view=rev
Log:
Update to 2.4-style Require syntax.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_macro.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_macro.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_macro.xml?rev=1436403&r1=1436402&r2=1436403&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_macro.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_macro.xml Mon Jan 21 15:12:02 2013
@@ -130,15 +130,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>
@@ -164,21 +160,17 @@ UndefMacro DirGroup
     before processing.</p>
 
     <highlight language="config">
-Use LocalAccessPolicy
-...
-Use RestrictedAccessPolicy "192.54.172.0/24 192.54.148.0/24"
+    Use LocalAccessPolicy
+    ...
+    Use RestrictedAccessPolicy "192.54.172.0/24 192.54.148.0/24"
     </highlight>
 
     <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
-...
-order deny,allow
-deny from all
-allow from 192.54.172.0/24 192.54.148.0/24
+    Require ip 10.2.16.0/24
+    ...
+    Require ip 192.54.172.0/24 192.54.148.0/24
     </highlight>
 </usage>
 



Mime
View raw message