1
0
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:
Rich Bowen
2010-11-04 17:12:35 +00:00
parent 9d918dabaa
commit 1f6696f2f7
14 changed files with 18 additions and 50 deletions

View File

@ -2281,9 +2281,7 @@ URLs</td></tr>
&lt;Location /status&gt;<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>
&lt;/Location&gt;
</code></p></div>

View File

@ -2282,9 +2282,7 @@ URLs</description>
&lt;Location /status&gt;<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>
&lt;/Location&gt;
</example>

View File

@ -158,8 +158,7 @@
Alias /image /ftp/pub/image<br />
&lt;Directory /ftp/pub/image&gt;<br />
<span class="indent">
Order allow,deny<br />
Allow from all<br />
Require all granted<br />
</span>
&lt;/Directory&gt;
</code></p></div>

View File

@ -147,8 +147,7 @@ href="../urlmapping.html">Mapping URLs to the filesystem</a></seealso>
Alias /image /ftp/pub/image<br />
&lt;Directory /ftp/pub/image&gt;<br />
<indent>
Order allow,deny<br />
Allow from all<br />
Require all granted<br />
</indent>
&lt;/Directory&gt;
</example>

View File

@ -94,8 +94,7 @@
<br />
&lt;Directory /usr/local/apache2/htdocs/foo&gt;<br />
<span class="indent">
Order Allow,Deny<br />
Allow from all<br />
Require all granted<br />
Dav On<br />
<br />
AuthType Basic<br />

View File

@ -81,8 +81,7 @@
<br />
&lt;Directory /usr/local/apache2/htdocs/foo&gt;<br />
<indent>
Order Allow,Deny<br />
Allow from all<br />
Require all granted<br />
Dav On<br />
<br />
AuthType Basic<br />

View File

@ -53,9 +53,7 @@ configuration</td></tr>
&lt;Location /server-info&gt;<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>
&lt;/Location&gt;
</code></p></div>

View File

@ -50,9 +50,7 @@ configuration</description>
&lt;Location /server-info&gt;<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>
&lt;/Location&gt;
</example>

View File

@ -179,9 +179,7 @@
<br />
&lt;Proxy *&gt;<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>
&lt;/Proxy&gt;
</code></p></div>
@ -309,9 +307,7 @@
<div class="example"><p><code>
&lt;Proxy *&gt;<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>
&lt;/Proxy&gt;
</code></p></div>
@ -600,9 +596,7 @@ directly</td></tr>
<div class="example"><p><code>
&lt;Proxy *&gt;<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>
&lt;/Proxy&gt;
</code></p></div>

View File

@ -139,9 +139,7 @@
<br />
&lt;Proxy *&gt;<br />
<indent>
Order deny,allow<br />
Deny from all<br />
Allow from internal.example.com<br />
Require host internal.example.com<br />
</indent>
&lt;/Proxy&gt;
</example>
@ -271,9 +269,7 @@
<example>
&lt;Proxy *&gt;<br />
<indent>
Order Deny,Allow<br />
Deny from all<br />
Allow from 192.168.0<br />
Require ip 192.168.0<br />
</indent>
&lt;/Proxy&gt;
</example>
@ -425,9 +421,7 @@
<example>
&lt;Proxy *&gt;<br />
<indent>
Order Deny,Allow<br />
Deny from all<br />
Allow from yournetwork.example.com<br />
Require host yournetwork.example.com<br />
</indent>
&lt;/Proxy&gt;
</example>

View File

@ -204,9 +204,7 @@
&lt;Location /balancer-manager&gt;<br />
SetHandler balancer-manager<br />
<br />
Order Deny,Allow<br />
Deny from all<br />
Allow from .example.com<br />
Require host example.com<br />
&lt;/Location&gt;
</code></p></div>

View File

@ -188,9 +188,7 @@
&lt;Location /balancer-manager&gt;<br />
SetHandler balancer-manager<br />
<br />
Order Deny,Allow<br />
Deny from all<br />
Allow from .example.com<br />
Require host example.com<br />
&lt;/Location&gt;
</example>

View File

@ -94,9 +94,7 @@ performance</td></tr>
&lt;Location /server-status&gt;<br />
SetHandler server-status<br />
<br />
Order Deny,Allow<br />
Deny from all<br />
Allow from .example.com<br />
Require host example.com<br />
&lt;/Location&gt;
</code></p></div>

View File

@ -81,9 +81,7 @@ performance</description>
&lt;Location /server-status&gt;<br />
SetHandler server-status<br />
<br />
Order Deny,Allow<br />
Deny from all<br />
Allow from .example.com<br />
Require host example.com<br />
&lt;/Location&gt;
</example>