Commit 0a37ed58 authored by brian's avatar brian
Browse files

Reviewed by: Brian Behlendorf

Submitted by:	Dean Gaudet

The docs show some examples using <Limit GET POST> ... </Limit> where the
<Limit>s are not strictly required.  Since it is less secure to specify
them than it is to leave them out I think the examples should be modified.
If they're to be left in, then some of them need &lt; ... &gt;.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77548 13f79535-47bb-0310-9956-ffa450edef68
parent 4b8e1021
Loading
Loading
Loading
Loading
+0 −2
Changes for docs/manual/location.html: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -40,11 +40,9 @@ from browsers at foo.com, you might use:
<pre>
    &lt;Location /status&gt;
    SetHandler server-status
    <Limit GET>
    order deny,allow
    deny from all
    allow from .foo.com
    </Limit>
    &lt;/Location&gt;
</pre>

+0 −2
Changes for docs/manual/mod/core.html: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -666,11 +666,9 @@ from browsers at foo.com, you might use:
<pre>
    &lt;Location /status&gt;
    SetHandler server-status
    <Limit GET>
    order deny,allow
    deny from all
    allow from .foo.com
    </Limit>
    &lt;/Location&gt;
</pre>
<hr>
+2 −4
Changes for docs/manual/mod/mod_access.html: 2 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -30,8 +30,7 @@ hostname or IP address.
<strong>Status:</strong> Base<br>
<strong>Module:</strong> mod_access<p>

The allow directive affects which hosts can access a given directory; it is
typically used within a <A HREF="core.html#limit">&lt;Limit&gt;</A> section.
The allow directive affects which hosts can access a given directory.
<em>Host</em> is one of the following:
<dl>
<dt><code>all</code>
@@ -60,8 +59,7 @@ See also <A HREF="#deny">deny</A> and <A HREF="#order">order</A>.<p><hr>
<strong>Status:</strong> Base<br>
<strong>Module:</strong> mod_access<p>

The deny directive affects which hosts can access a given directory; it is
typically used within a <A HREF="core.html#limit">&lt;Limit&gt;</A> section.
The deny directive affects which hosts can access a given directory.
<em>Host</em> is one of the following:
<dl>
<dt><code>all</code>
+0 −2
Changes for docs/manual/mod/mod_status.html: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -45,11 +45,9 @@ domain add this code to your <code>access.conf</code> configuration file
    &lt;Location /server-status&gt;
    SetHandler server-status
    
    &lt;Limit GET POST&gt;
    order deny,allow
    deny from all
    allow from .foo.com
    &lt;/Limit&gt;
    &lt;/Location&gt;
</pre>
<p>