patch: error_page and rewrite conflict in 0.4.5
Igor Sysoev
is at rambler-co.ru
Wed Oct 4 12:36:35 MSD 2006
Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
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;
}
More information about the nginx-ru
mailing list