# HG changeset patch # User Vladimir Homutov # Date 1347022826 0 # Node ID c48c0936b4df715ed29f117559086a32e4e8a13c # Parent f2d8603813b0559047bd5d96a291f57d0dbe9ae5 Documented internal redirections limit. diff -r f2d8603813b0 -r c48c0936b4df xml/en/docs/http/ngx_http_core_module.xml --- 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 @@ + rev="4">
@@ -774,6 +774,14 @@ internal; } + +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 + is returned. +In such cases, the “rewrite or internal redirection cycle” message +can be seen in the error log. + @@ -1835,6 +1843,8 @@ Enables or disables doing several redirects using the directive. +There is a +limit on a number of such redirects. diff -r f2d8603813b0 -r c48c0936b4df xml/en/docs/http/ngx_http_rewrite_module.xml --- a/xml/en/docs/http/ngx_http_rewrite_module.xml Thu Sep 06 06:41:24 2012 +0000 +++ b/xml/en/docs/http/ngx_http_rewrite_module.xml Fri Sep 07 13:00:26 2012 +0000 @@ -10,7 +10,7 @@ + rev="2">
@@ -38,8 +38,10 @@ the directives of this module specified in the selected are processed, and if they changed a URI, a new location is searched for the new URI. -This cycle may be repeated up to 10 times after which the error - is returned. +This cycle may be repeated up to +10 times +after which the error +is returned. diff -r f2d8603813b0 -r c48c0936b4df xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml Thu Sep 06 06:41:24 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Fri Sep 07 13:00:26 2012 +0000 @@ -10,7 +10,7 @@ + rev="4">
@@ -759,6 +759,15 @@ internal; } + +Для предотвращения зацикливания, которое может возникнуть при +использовании некорректных конфигураций, количество внутренних +перенаправлений ограничено десятью. +По достижении этого ограничения будет возвращена ошибка +. +В таком случае в лог-файле ошибок можно увидеть сообщение +“rewrite or internal redirection cycle”. + @@ -1819,6 +1828,8 @@ Разрешает или запрещает делать несколько перенаправлений через директиву . +Количество таких перенаправлений +ограничено. diff -r f2d8603813b0 -r c48c0936b4df xml/ru/docs/http/ngx_http_rewrite_module.xml --- a/xml/ru/docs/http/ngx_http_rewrite_module.xml Thu Sep 06 06:41:24 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_rewrite_module.xml Fri Sep 07 13:00:26 2012 +0000 @@ -10,7 +10,7 @@ + rev="2">
@@ -38,8 +38,10 @@ выполняются директивы этого модуля, описанные в выбранном , и если они изменяли URI, то ищется новый location для уже нового URI. -Этот цикл может повторяться до 10 раз, после чего возвращается -ошибка . +Этот цикл может повторяться до +10 раз, +после чего возвращается ошибка +.