comparison 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
comparison
equal deleted inserted replaced
673:f2d8603813b0 674:c48c0936b4df
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_core_module" 10 <module name="Module ngx_http_core_module"
11 link="/en/docs/http/ngx_http_core_module.html" 11 link="/en/docs/http/ngx_http_core_module.html"
12 lang="en" 12 lang="en"
13 rev="3"> 13 rev="4">
14 14
15 <section id="directives" name="Directives"> 15 <section id="directives" name="Directives">
16 16
17 <directive name="aio"> 17 <directive name="aio">
18 <syntax> 18 <syntax>
772 772
773 location /404.html { 773 location /404.html {
774 internal; 774 internal;
775 } 775 }
776 </example> 776 </example>
777 <note>
778 There is a limit of 10 internal redirects per request to prevent
779 request processing cycles that can occur in incorrect configurations.
780 If this limit is reached, the error
781 <http-status code="500" text="Internal Server Error"/> is returned.
782 In such cases, the “rewrite or internal redirection cycle” message
783 can be seen in the error log.
784 </note>
777 </para> 785 </para>
778 786
779 </directive> 787 </directive>
780 788
781 789
1833 1841
1834 <para> 1842 <para>
1835 Enables or disables doing several redirects using the 1843 Enables or disables doing several redirects using the
1836 <link id="error_page"/> 1844 <link id="error_page"/>
1837 directive. 1845 directive.
1846 There is a <link doc="ngx_http_core_module.xml" id="internal">
1847 limit</link> on a number of such redirects.
1838 </para> 1848 </para>
1839 1849
1840 </directive> 1850 </directive>
1841 1851
1842 1852