comparison xml/en/docs/http/ngx_http_core_module.xml @ 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 ade81792bdaa
children 474a21f26a2a
comparison
equal deleted inserted replaced
870:6087d3fa6919 871:96839d165b8a
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="18"> 13 rev="19">
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>
612 It is also possible to use redirects for error processing: 612 It is also possible to use redirects for error processing:
613 <example> 613 <example>
614 error_page 403 http://example.com/forbidden.html; 614 error_page 403 http://example.com/forbidden.html;
615 error_page 404 =301 http://example.com/notfound.html; 615 error_page 404 =301 http://example.com/notfound.html;
616 </example> 616 </example>
617 In this case, the response code 302 is returned to the client. 617 In this case, by default, the response code 302 is returned to the client.
618 It can only be changed to one of the redirect status 618 It can only be changed to one of the redirect status
619 codes (301, 302, 303, and 307). 619 codes (301, 302, 303, and 307).
620 </para> 620 </para>
621 621
622 <para> 622 <para>