]> granicus.if.org Git - apache/commitdiff
Document valid method names in <Limit> statements. Mention that
authorpcs <pcs@unknown>
Fri, 10 Oct 1997 09:08:40 +0000 (09:08 +0000)
committerpcs <pcs@unknown>
Fri, 10 Oct 1997 09:08:40 +0000 (09:08 +0000)
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

docs/manual/mod/core.html

index d523b5e40c7244c8acae8c8796667c9da271fe72..44425de7e8db75bd6f7f6196c6b7d8b085b32851 100644 (file)
@@ -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>