comparison src/http/modules/ngx_http_index_module.c @ 3598:8152369f7037 stable-0.7

merge r3528: remove r->zero_in_uri
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jun 2010 12:27:06 +0000
parents 9ecd253fcc90
children
comparison
equal deleted inserted replaced
3597:0d8b8c84bab7 3598:8152369f7037
114 114
115 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) { 115 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) {
116 return NGX_DECLINED; 116 return NGX_DECLINED;
117 } 117 }
118 118
119 if (r->zero_in_uri) {
120 return NGX_DECLINED;
121 }
122
123 ilcf = ngx_http_get_module_loc_conf(r, ngx_http_index_module); 119 ilcf = ngx_http_get_module_loc_conf(r, ngx_http_index_module);
124 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 120 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
125 121
126 allocated = 0; 122 allocated = 0;
127 root = 0; 123 root = 0;