Commit 4aa6d9c8 authored by Richard Bowen's avatar Richard Bowen
Browse files

Applies patch from info@mathijs.info to use 2.4 authz syntax.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1702020 13f79535-47bb-0310-9956-ffa450edef68
parent d3bd28d9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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
+3 −3
Original line number Diff line number Diff line
@@ -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>