From 148486a592d97be981eccc31b6dd1327fe11a880 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Wed, 9 Sep 2015 14:07:35 +0000 Subject: [PATCH] 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 --- docs/manual/mod/mod_authz_host.xml | 4 +++- docs/manual/mod/mod_info.xml | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/manual/mod/mod_authz_host.xml b/docs/manual/mod/mod_authz_host.xml index 18311e5a849..665552c8ce7 100644 --- a/docs/manual/mod/mod_authz_host.xml +++ b/docs/manual/mod/mod_authz_host.xml @@ -118,7 +118,9 @@ Require ip 10 172.20 192.168.2 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

Note: As the IP addresses are parsed on startup, expressions are diff --git a/docs/manual/mod/mod_info.xml b/docs/manual/mod/mod_info.xml index 9aa56013f0b..8461ac400c0 100644 --- a/docs/manual/mod/mod_info.xml +++ b/docs/manual/mod/mod_info.xml @@ -75,11 +75,11 @@ configuration <Location "/server-info"> 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 </Location> -- 2.47.2