From: Rich Bowen Date: Thu, 4 Nov 2010 17:12:35 +0000 (+0000) Subject: Change mentions of 'Deny from' and 'Allow from' to new Require syntax. X-Git-Tag: 2.3.9~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f6696f2f7e7dba951ebffc4ce9debac02b0b47c;p=apache Change mentions of 'Deny from' and 'Allow from' to new Require syntax. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031084 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 53e4c58149..d4393e6c82 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -2281,9 +2281,7 @@ URLs <Location /status>
SetHandler server-status
- Order Deny,Allow
- Deny from all
- Allow from .example.com
+ Require host example.com
</Location>

diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index e713791a84..7947efb252 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2282,9 +2282,7 @@ URLs <Location /status>
SetHandler server-status
- Order Deny,Allow
- Deny from all
- Allow from .example.com
+ Require host example.com
</Location> diff --git a/docs/manual/mod/mod_alias.html.en b/docs/manual/mod/mod_alias.html.en index 39e08574ca..a29aa261bc 100644 --- a/docs/manual/mod/mod_alias.html.en +++ b/docs/manual/mod/mod_alias.html.en @@ -158,8 +158,7 @@ Alias /image /ftp/pub/image
<Directory /ftp/pub/image>
- Order allow,deny
- Allow from all
+ Require all granted
</Directory>

diff --git a/docs/manual/mod/mod_alias.xml b/docs/manual/mod/mod_alias.xml index 48ea9eebcb..513367504b 100644 --- a/docs/manual/mod/mod_alias.xml +++ b/docs/manual/mod/mod_alias.xml @@ -147,8 +147,7 @@ href="../urlmapping.html">Mapping URLs to the filesystem Alias /image /ftp/pub/image
<Directory /ftp/pub/image>
- Order allow,deny
- Allow from all
+ Require all granted
</Directory> diff --git a/docs/manual/mod/mod_dav.html.en b/docs/manual/mod/mod_dav.html.en index 324be9c0ca..8ddccab3ce 100644 --- a/docs/manual/mod/mod_dav.html.en +++ b/docs/manual/mod/mod_dav.html.en @@ -94,8 +94,7 @@
<Directory /usr/local/apache2/htdocs/foo>
- Order Allow,Deny
- Allow from all
+ Require all granted
Dav On

AuthType Basic
diff --git a/docs/manual/mod/mod_dav.xml b/docs/manual/mod/mod_dav.xml index 06bd77eb28..b598ba3056 100644 --- a/docs/manual/mod/mod_dav.xml +++ b/docs/manual/mod/mod_dav.xml @@ -81,8 +81,7 @@
<Directory /usr/local/apache2/htdocs/foo>
- Order Allow,Deny
- Allow from all
+ Require all granted
Dav On

AuthType Basic
diff --git a/docs/manual/mod/mod_info.html.en b/docs/manual/mod/mod_info.html.en index 4936263e71..ce96d2bbf4 100644 --- a/docs/manual/mod/mod_info.html.en +++ b/docs/manual/mod/mod_info.html.en @@ -53,9 +53,7 @@ configuration <Location /server-info>
SetHandler server-info
- Order deny,allow
- Deny from all
- Allow from yourcompany.com
+ Require host yourcompany.com
</Location>

diff --git a/docs/manual/mod/mod_info.xml b/docs/manual/mod/mod_info.xml index 2fd7c64a21..fea553bac7 100644 --- a/docs/manual/mod/mod_info.xml +++ b/docs/manual/mod/mod_info.xml @@ -50,9 +50,7 @@ configuration <Location /server-info>
SetHandler server-info
- Order deny,allow
- Deny from all
- Allow from yourcompany.com
+ Require host yourcompany.com
</Location> diff --git a/docs/manual/mod/mod_proxy.html.en b/docs/manual/mod/mod_proxy.html.en index 81c34adc11..852428d9a5 100644 --- a/docs/manual/mod/mod_proxy.html.en +++ b/docs/manual/mod/mod_proxy.html.en @@ -179,9 +179,7 @@
<Proxy *>
- Order deny,allow
- Deny from all
- Allow from internal.example.com
+ Require host internal.example.com
</Proxy>

@@ -309,9 +307,7 @@

<Proxy *>
- Order Deny,Allow
- Deny from all
- Allow from 192.168.0
+ Require ip 192.168.0
</Proxy>

@@ -600,9 +596,7 @@ directly

<Proxy *>
- Order Deny,Allow
- Deny from all
- Allow from yournetwork.example.com
+ Require host yournetwork.example.com
</Proxy>

diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml index fc5dfeb7ba..cc4a896d85 100644 --- a/docs/manual/mod/mod_proxy.xml +++ b/docs/manual/mod/mod_proxy.xml @@ -139,9 +139,7 @@
<Proxy *>
- Order deny,allow
- Deny from all
- Allow from internal.example.com
+ Require host internal.example.com
</Proxy> @@ -271,9 +269,7 @@ <Proxy *>
- Order Deny,Allow
- Deny from all
- Allow from 192.168.0
+ Require ip 192.168.0
</Proxy>
@@ -425,9 +421,7 @@ <Proxy *>
- Order Deny,Allow
- Deny from all
- Allow from yournetwork.example.com
+ Require host yournetwork.example.com
</Proxy>
diff --git a/docs/manual/mod/mod_proxy_balancer.html.en b/docs/manual/mod/mod_proxy_balancer.html.en index c56bc3d768..aca16fb73e 100644 --- a/docs/manual/mod/mod_proxy_balancer.html.en +++ b/docs/manual/mod/mod_proxy_balancer.html.en @@ -204,9 +204,7 @@ <Location /balancer-manager>
SetHandler balancer-manager

- Order Deny,Allow
- Deny from all
- Allow from .example.com
+ Require host example.com
</Location>

diff --git a/docs/manual/mod/mod_proxy_balancer.xml b/docs/manual/mod/mod_proxy_balancer.xml index 4ef91aa735..fb1ee78b00 100644 --- a/docs/manual/mod/mod_proxy_balancer.xml +++ b/docs/manual/mod/mod_proxy_balancer.xml @@ -188,9 +188,7 @@ <Location /balancer-manager>
SetHandler balancer-manager

- Order Deny,Allow
- Deny from all
- Allow from .example.com
+ Require host example.com
</Location> diff --git a/docs/manual/mod/mod_status.html.en b/docs/manual/mod/mod_status.html.en index 1f8ece9edc..eec9f6f268 100644 --- a/docs/manual/mod/mod_status.html.en +++ b/docs/manual/mod/mod_status.html.en @@ -94,9 +94,7 @@ performance <Location /server-status>
SetHandler server-status

- Order Deny,Allow
- Deny from all
- Allow from .example.com
+ Require host example.com
</Location>

diff --git a/docs/manual/mod/mod_status.xml b/docs/manual/mod/mod_status.xml index e834f517ba..75614562e1 100644 --- a/docs/manual/mod/mod_status.xml +++ b/docs/manual/mod/mod_status.xml @@ -81,9 +81,7 @@ performance <Location /server-status>
SetHandler server-status

- Order Deny,Allow
- Deny from all
- Allow from .example.com
+ Require host example.com
</Location>