Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 47270 invoked by uid 500); 19 May 2003 01:59:10 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 47259 invoked by uid 500); 19 May 2003 01:59:10 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 19 May 2003 01:59:09 -0000 Message-ID: <20030519015909.3291.qmail@icarus.apache.org> From: nd@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/docs/manual/mod core.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N nd 2003/05/18 18:59:09 Modified: docs/manual/mod core.xml Log: Document the LimitInternalRecursion directive. Reviewed by: Jeff Trawick Revision Changes Path 1.61 +35 -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.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- core.xml 8 May 2003 18:13:06 -0000 1.60 +++ core.xml 19 May 2003 01:59:09 -0000 1.61 @@ -1463,6 +1463,41 @@ +LimitInternalRecursion +Determine maximum number of internal redirects and nested +subrequests +LimitInternalRecursion number [number] +LimitInternalRecursion 10 +server configvirtual host + +Available in Apache 2.1 and later + + +

An internal redirect happens, for example, when using the Action directive, which internally + redirects the original request to a CGI script. A subrequest is Apache's + mechanism to find out what would happen for some URI if it were requested. + For example, mod_dir uses subrequests to look for the + files listed in the DirectoryIndex + directive.

+ +

LimitInternalRecursion prevents the server + from crashing when entering an infinite loop of internal redirects or + subrequests. Such loops are usually caused by misconfigurations.

+ +

The directive stores two different limits, which are evaluated on + per-request basis. The first number is the maximum number of + internal redirects, that may follow each other. The second number + determines, how deep subrequests may be nested. If you specify only one + number, it will be assigned to both limits.

+ + Example + LimitInternalRecursion 5 + +
+
+ + LimitRequestBody Restricts the total size of the HTTP request body sent from the client