Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch: error_page and rewrite conflict in 0.4.5
éÇÏÒØ óÙÓÏÅ×
http://sysoev.ru Index: src/http/modules/ngx_http_rewrite_module.c
===================================================================
--- src/http/modules/ngx_http_rewrite_module.c (revision 53)
+++ src/http/modules/ngx_http_rewrite_module.c (working copy)
@@ -178,6 +178,10 @@
code(e);
}
+ if (e->status == NGX_DECLINED) {
+ return NGX_DECLINED;
+ }
+
if (r->err_status == 0) {
return e->status;
}
|