commit | cccc18562389c759ae84ab1691e6a5c31cc095a6 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Oct 03 18:06:44 2006 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Oct 03 18:06:44 2006 +0000 |
tree | ea3e08aa14f6bcb083b8bc83c55598dc7294b625 | |
parent | afe577cc6c7508984c8b47b71dcdc273b95a226d [diff] |
after redirecting by error_page any rewrite directive will return this code, bug introduced in r727
diff --git a/src/http/modules/ngx_http_rewrite_module.c b/src/http/modules/ngx_http_rewrite_module.c index 3192375..274991e 100644 --- a/src/http/modules/ngx_http_rewrite_module.c +++ b/src/http/modules/ngx_http_rewrite_module.c
@@ -178,6 +178,10 @@ code(e); } + if (e->status == NGX_DECLINED) { + return NGX_DECLINED; + } + if (r->err_status == 0) { return e->status; }