]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Applies patch from info@mathijs.info to use 2.4 authz syntax.
authorRich Bowen <rbowen@apache.org>
Wed, 9 Sep 2015 14:07:35 +0000 (14:07 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 9 Sep 2015 14:07:35 +0000 (14:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1702020 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_authz_host.xml
docs/manual/mod/mod_info.xml

index 18311e5a849b75842ef80e7e90b9889820557ef8..665552c8ce7c9a6c6ab7d4c99f7abc5ccdd88a54 100644 (file)
@@ -118,7 +118,9 @@ Require ip 10 172.20 192.168.2
 
     <highlight language="config">
 Require ip 2001:db8::a00:20ff:fea7:ccea
-Require ip 2001:db8::a00:20ff:fea7:ccea/10
+Require ip 2001:db8:1:1::a
+Require ip 2001:db8:2:1::/64
+Require ip 2001:db8:3::/48
     </highlight>
 
     <p>Note: As the IP addresses are parsed on startup, expressions are
index 9aa56013f0b2c1c7d5ae1ae26feac07f59f17458..8461ac400c08951e1a5ce4b48e52f8353caaa8fb 100644 (file)
@@ -75,11 +75,11 @@ configuration</description>
     <highlight language="config">
 &lt;Location "/server-info"&gt;
     SetHandler server-info
-    Order allow,deny
     # Allow access from server itself
-    Allow from 127.0.0.1
+    Require ip 127.0.0.1
+
     # Additionally, allow access from local workstation
-    Allow from 192.168.1.17
+    Require ip 192.168.1.17
 &lt;/Location&gt;
       </highlight>
     </example>