You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2003/07/29 17:15:33 UTC

cvs commit: httpd-2.0/docs/manual/mod core.xml core.html.en

slive       2003/07/29 08:15:33

  Modified:    docs/manual/mod core.xml core.html.en
  Log:
  REALLY discourage people from using <Limit>.
  
  (Because people don't necessarily know all the methods that their
  server deals with, and because crummy cgi scripts may take
  "post" and treat it like "POST" or other similar bad
  behavior.)
  
  Revision  Changes    Path
  1.75      +9 -0      httpd-2.0/docs/manual/mod/core.xml
  
  Index: core.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.xml,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -d -b -u -r1.74 -r1.75
  --- core.xml	29 Jul 2003 14:47:13 -0000	1.74
  +++ core.xml	29 Jul 2003 15:15:29 -0000	1.75
  @@ -1453,6 +1453,15 @@
       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>
   
  
  
  
  1.82      +6 -0      httpd-2.0/docs/manual/mod/core.html.en
  
  Index: core.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.html.en,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -d -b -u -r1.81 -r1.82
  --- core.html.en	29 Jul 2003 14:47:13 -0000	1.81
  +++ core.html.en	29 Jul 2003 15:15:29 -0000	1.82
  @@ -1504,6 +1504,12 @@
       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>