diff xml/en/docs/http/ngx_http_core_module.xml @ 674:c48c0936b4df

Documented internal redirections limit.
author Vladimir Homutov <vl@nginx.com>
date Fri, 07 Sep 2012 13:00:26 +0000
parents 77a3314c74a7
children 9888364847b7
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml	Thu Sep 06 06:41:24 2012 +0000
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Fri Sep 07 13:00:26 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="3">
+        rev="4">
 
 <section id="directives" name="Directives">
 
@@ -774,6 +774,14 @@
     internal;
 }
 </example>
+<note>
+There is a limit of 10 internal redirects per request to prevent
+request processing cycles that can occur in incorrect configurations.
+If this limit is reached, the error
+<http-status code="500" text="Internal Server Error"/> is returned.
+In such cases, the “rewrite or internal redirection cycle” message
+can be seen in the error log.
+</note>
 </para>
 
 </directive>
@@ -1835,6 +1843,8 @@
 Enables or disables doing several redirects using the
 <link id="error_page"/>
 directive.
+There is a <link doc="ngx_http_core_module.xml" id="internal">
+limit</link> on a number of such redirects.
 </para>
 
 </directive>