]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use 2.4 access control syntax. Patch from info@mathijs.info
authorRich Bowen <rbowen@apache.org>
Wed, 9 Sep 2015 13:58:54 +0000 (13:58 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 9 Sep 2015 13:58:54 +0000 (13:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1702012 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_info.xml

index 947cb4f59e3b715e512c529af07175a4e4da4970..2ca86d85dc35bceb49fa79fc3b727371e1067165 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>