Commit 4d502582 authored by pcs's avatar pcs
Browse files

Document valid method names in <Limit> statements. Mention that

GET also restricts HEAD requests (see PR#1196).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79360 13f79535-47bb-0310-9956-ffa450edef68
parent a9c13c7b
Loading
Loading
Loading
Loading
+7 −4
Changes for docs/manual/mod/core.html: 7 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -918,10 +918,13 @@ unaffected by the &lt;Limit&gt;. Example:
&lt;Limit GET POST&gt;<br>
require valid-user<br>
&lt;/Limit&gt;</code></blockquote>
If an access control directive appears outside a &lt;Limit&gt; directive,
then it applies to all access methods.  <STRONG>If you wish to limit
all methods, do not include any &lt;Limit&gt; directive at all.</STRONG>
<p><hr>

If an access control directive appears outside a &lt;Limit&gt;
directive, then it applies to all access methods. The method names
listed can be one or more of: GET, POST, PUT, DELETE, CONNECT or
OPTIONS. If GET is used it will also restrict HEAD requests.
<STRONG>If you wish to limit all methods, do not include any
&lt;Limit&gt; directive at all.</STRONG> <p><hr>

<h2><a name="location">&lt;Location&gt; directive</a></h2>