Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment