mirror of
https://github.com/apache/httpd.git
synced 2025-07-30 20:03:10 +03:00
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
This commit is contained in:
@ -2281,9 +2281,7 @@ URLs</td></tr>
|
||||
<Location /status><br />
|
||||
<span class="indent">
|
||||
SetHandler server-status<br />
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from .example.com<br />
|
||||
Require host example.com<br />
|
||||
</span>
|
||||
</Location>
|
||||
</code></p></div>
|
||||
|
@ -2282,9 +2282,7 @@ URLs</description>
|
||||
<Location /status><br />
|
||||
<indent>
|
||||
SetHandler server-status<br />
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from .example.com<br />
|
||||
Require host example.com<br />
|
||||
</indent>
|
||||
</Location>
|
||||
</example>
|
||||
|
@ -158,8 +158,7 @@
|
||||
Alias /image /ftp/pub/image<br />
|
||||
<Directory /ftp/pub/image><br />
|
||||
<span class="indent">
|
||||
Order allow,deny<br />
|
||||
Allow from all<br />
|
||||
Require all granted<br />
|
||||
</span>
|
||||
</Directory>
|
||||
</code></p></div>
|
||||
|
@ -147,8 +147,7 @@ href="../urlmapping.html">Mapping URLs to the filesystem</a></seealso>
|
||||
Alias /image /ftp/pub/image<br />
|
||||
<Directory /ftp/pub/image><br />
|
||||
<indent>
|
||||
Order allow,deny<br />
|
||||
Allow from all<br />
|
||||
Require all granted<br />
|
||||
</indent>
|
||||
</Directory>
|
||||
</example>
|
||||
|
@ -94,8 +94,7 @@
|
||||
<br />
|
||||
<Directory /usr/local/apache2/htdocs/foo><br />
|
||||
<span class="indent">
|
||||
Order Allow,Deny<br />
|
||||
Allow from all<br />
|
||||
Require all granted<br />
|
||||
Dav On<br />
|
||||
<br />
|
||||
AuthType Basic<br />
|
||||
|
@ -81,8 +81,7 @@
|
||||
<br />
|
||||
<Directory /usr/local/apache2/htdocs/foo><br />
|
||||
<indent>
|
||||
Order Allow,Deny<br />
|
||||
Allow from all<br />
|
||||
Require all granted<br />
|
||||
Dav On<br />
|
||||
<br />
|
||||
AuthType Basic<br />
|
||||
|
@ -53,9 +53,7 @@ configuration</td></tr>
|
||||
<Location /server-info><br />
|
||||
<span class="indent">
|
||||
SetHandler server-info<br />
|
||||
Order deny,allow<br />
|
||||
Deny from all<br />
|
||||
Allow from yourcompany.com<br />
|
||||
Require host yourcompany.com<br />
|
||||
</span>
|
||||
</Location>
|
||||
</code></p></div>
|
||||
|
@ -50,9 +50,7 @@ configuration</description>
|
||||
<Location /server-info><br />
|
||||
<indent>
|
||||
SetHandler server-info<br />
|
||||
Order deny,allow<br />
|
||||
Deny from all<br />
|
||||
Allow from yourcompany.com<br />
|
||||
Require host yourcompany.com<br />
|
||||
</indent>
|
||||
</Location>
|
||||
</example>
|
||||
|
@ -179,9 +179,7 @@
|
||||
<br />
|
||||
<Proxy *><br />
|
||||
<span class="indent">
|
||||
Order deny,allow<br />
|
||||
Deny from all<br />
|
||||
Allow from internal.example.com<br />
|
||||
Require host internal.example.com<br />
|
||||
</span>
|
||||
</Proxy>
|
||||
</code></p></div>
|
||||
@ -309,9 +307,7 @@
|
||||
<div class="example"><p><code>
|
||||
<Proxy *><br />
|
||||
<span class="indent">
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from 192.168.0<br />
|
||||
Require ip 192.168.0<br />
|
||||
</span>
|
||||
</Proxy>
|
||||
</code></p></div>
|
||||
@ -600,9 +596,7 @@ directly</td></tr>
|
||||
<div class="example"><p><code>
|
||||
<Proxy *><br />
|
||||
<span class="indent">
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from yournetwork.example.com<br />
|
||||
Require host yournetwork.example.com<br />
|
||||
</span>
|
||||
</Proxy>
|
||||
</code></p></div>
|
||||
|
@ -139,9 +139,7 @@
|
||||
<br />
|
||||
<Proxy *><br />
|
||||
<indent>
|
||||
Order deny,allow<br />
|
||||
Deny from all<br />
|
||||
Allow from internal.example.com<br />
|
||||
Require host internal.example.com<br />
|
||||
</indent>
|
||||
</Proxy>
|
||||
</example>
|
||||
@ -271,9 +269,7 @@
|
||||
<example>
|
||||
<Proxy *><br />
|
||||
<indent>
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from 192.168.0<br />
|
||||
Require ip 192.168.0<br />
|
||||
</indent>
|
||||
</Proxy>
|
||||
</example>
|
||||
@ -425,9 +421,7 @@
|
||||
<example>
|
||||
<Proxy *><br />
|
||||
<indent>
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from yournetwork.example.com<br />
|
||||
Require host yournetwork.example.com<br />
|
||||
</indent>
|
||||
</Proxy>
|
||||
</example>
|
||||
|
@ -204,9 +204,7 @@
|
||||
<Location /balancer-manager><br />
|
||||
SetHandler balancer-manager<br />
|
||||
<br />
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from .example.com<br />
|
||||
Require host example.com<br />
|
||||
</Location>
|
||||
</code></p></div>
|
||||
|
||||
|
@ -188,9 +188,7 @@
|
||||
<Location /balancer-manager><br />
|
||||
SetHandler balancer-manager<br />
|
||||
<br />
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from .example.com<br />
|
||||
Require host example.com<br />
|
||||
</Location>
|
||||
</example>
|
||||
|
||||
|
@ -94,9 +94,7 @@ performance</td></tr>
|
||||
<Location /server-status><br />
|
||||
SetHandler server-status<br />
|
||||
<br />
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from .example.com<br />
|
||||
Require host example.com<br />
|
||||
</Location>
|
||||
</code></p></div>
|
||||
|
||||
|
@ -81,9 +81,7 @@ performance</description>
|
||||
<Location /server-status><br />
|
||||
SetHandler server-status<br />
|
||||
<br />
|
||||
Order Deny,Allow<br />
|
||||
Deny from all<br />
|
||||
Allow from .example.com<br />
|
||||
Require host example.com<br />
|
||||
</Location>
|
||||
</example>
|
||||
|
||||
|
Reference in New Issue
Block a user