Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_perl_module.xml @ 2413:c6581f9aefa3
Documented Perl $r->internal_redirect() fixes.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 07 Aug 2019 21:04:14 +0300 |
parents | c3f411040d24 |
children | 23b9cbb0c11d |
comparison
equal
deleted
inserted
replaced
2412:bd026d5898b8 | 2413:c6581f9aefa3 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_perl_module" | 10 <module name="Module ngx_http_perl_module" |
11 link="/en/docs/http/ngx_http_perl_module.html" | 11 link="/en/docs/http/ngx_http_perl_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="6"> | 13 rev="7"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_perl_module</literal> module is used to implement | 18 The <literal>ngx_http_perl_module</literal> module is used to implement |
302 </tag-name> | 302 </tag-name> |
303 <tag-desc> | 303 <tag-desc> |
304 sets a value for the specified response header field. | 304 sets a value for the specified response header field. |
305 </tag-desc> | 305 </tag-desc> |
306 | 306 |
307 <tag-name> | 307 <tag-name id="r_internal_redirect"> |
308 <literal>$r->internal_redirect(<value>uri</value>)</literal> | 308 <literal>$r->internal_redirect(<value>uri</value>)</literal> |
309 </tag-name> | 309 </tag-name> |
310 <tag-desc> | 310 <tag-desc> |
311 does an internal redirect to the specified <value>uri</value>. | 311 does an internal redirect to the specified <value>uri</value>. |
312 An actual redirect happens after the Perl handler execution is completed. | 312 An actual redirect happens after the Perl handler execution is completed. |
313 <note> | 313 <note> |
314 Redirections to named locations are currently not supported. | 314 Since version 1.17.2, the method accepts escaped URIs and |
315 supports redirections to named locations. | |
315 </note> | 316 </note> |
316 </tag-desc> | 317 </tag-desc> |
317 | 318 |
318 <tag-name><literal>$r->log_error(<value>errno</value>, | 319 <tag-name><literal>$r->log_error(<value>errno</value>, |
319 <value>message</value>)</literal></tag-name> | 320 <value>message</value>)</literal></tag-name> |