Mercurial > hg > nginx-site
changeset 871:96839d165b8a
Clarify the description of error_page example.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 22 Mar 2013 11:18:14 +0400 |
parents | 6087d3fa6919 |
children | cb9cdd60fac8 |
files | xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Wed Mar 20 21:47:21 2013 +0400 +++ b/xml/en/docs/http/ngx_http_core_module.xml Fri Mar 22 11:18:14 2013 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="18"> + rev="19"> <section id="directives" name="Directives"> @@ -614,7 +614,7 @@ error_page 403 http://example.com/forbidden.html; error_page 404 =301 http://example.com/notfound.html; </example> -In this case, the response code 302 is returned to the client. +In this case, by default, the response code 302 is returned to the client. It can only be changed to one of the redirect status codes (301, 302, 303, and 307). </para>
--- a/xml/ru/docs/http/ngx_http_core_module.xml Wed Mar 20 21:47:21 2013 +0400 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Fri Mar 22 11:18:14 2013 +0400 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_core_module" link="/ru/docs/http/ngx_http_core_module.html" lang="ru" - rev="18"> + rev="19"> <section id="directives" name="Директивы"> @@ -603,7 +603,7 @@ error_page 403 http://example.com/forbidden.html; error_page 404 =301 http://example.com/notfound.html; </example> -В этому случае клиенту возвращается код ответа 302. +В этом случае по умолчанию клиенту возвращается код ответа 302. Его можно изменить только на один из кодов статуса, относящихся к перенаправлениям (301, 302, 303 и 307). </para>