Mercurial > hg > nginx
changeset 739:9f983de19a1d
after redirecting by error_page any rewrite directive will return this code,
bug introduced in r727
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Oct 2006 18:06:44 +0000 |
parents | 5d4111daf388 |
children | 5187a63d9fca |
files | src/http/modules/ngx_http_rewrite_module.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_rewrite_module.c Mon Oct 02 15:40:28 2006 +0000 +++ b/src/http/modules/ngx_http_rewrite_module.c Tue Oct 03 18:06:44 2006 +0000 @@ -178,6 +178,10 @@ code(e); } + if (e->status == NGX_DECLINED) { + return NGX_DECLINED; + } + if (r->err_status == 0) { return e->status; }