From: André Malo Date: Mon, 19 May 2003 01:59:09 +0000 (+0000) Subject: Document the LimitInternalRecursion directive. X-Git-Tag: pre_ajp_proxy~1667 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b2bdb3146bccf5491b76a607c5ccd1972c0d1cd;p=thirdparty%2Fapache%2Fhttpd.git Document the LimitInternalRecursion directive. Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99913 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index fbae54fd9fc..85436b4adbd 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1462,6 +1462,41 @@ except the named ones + +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