]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport advice to use <LimitExcept> in place of <Limit>.
authorJoshua Slive <slive@apache.org>
Tue, 29 Jul 2003 15:22:41 +0000 (15:22 +0000)
committerJoshua Slive <slive@apache.org>
Tue, 29 Jul 2003 15:22:41 +0000 (15:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@100842 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html.en
docs/manual/mod/core.xml

index 14cf38c1a9d1f80c58d03ee03adefe11f4112d95..87f30b105a39aabaffc1fddbf9a22bfc311529b5 100644 (file)
@@ -1532,6 +1532,12 @@ methods</td></tr>
     restrict <code>HEAD</code> requests. The <code>TRACE</code> method
     cannot be limited.</p>
 
+    <div class="warning">A <code class="directive"><a href="#limitexcept">&lt;LimitExcept&gt;</a></code> section should always be
+    used in preference to a <code class="directive"><a href="#limit">&lt;Limit&gt;</a></code> section when restricting access,
+    since a <code class="directive"><a href="#limitexcept">&lt;LimitExcept&gt;</a></code> section provides protection
+    against arbitrary methods.</div>
+
+
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="directive-section"><h2><a name="LimitExcept" id="LimitExcept">&lt;LimitExcept&gt;</a> <a name="limitexcept" id="limitexcept">Directive</a></h2>
index 21685f2fa6746651ed490f9e6156f7f33a867cd1..7af7f7c94ad23f40b9991bc62b1f5a540c461b04 100644 (file)
@@ -1478,6 +1478,15 @@ methods</description>
     case-sensitive.</strong> If <code>GET</code> is used it will also
     restrict <code>HEAD</code> requests. The <code>TRACE</code> method
     cannot be limited.</p>
+
+    <note type="warning">A <directive type="section"
+    module="core">LimitExcept</directive> section should always be
+    used in preference to a <directive type="section"
+    module="core">Limit</directive> section when restricting access,
+    since a <directive type="section"
+    module="core">LimitExcept</directive> section provides protection
+    against arbitrary methods.</note>
+
 </usage>
 </directivesynopsis>