Mercurial > hg > nginx-vendor-1-0
comparison src/http/modules/ngx_http_index_module.c @ 572:ff463db0be31 NGINX_0_8_38
nginx 0.8.38
*) Feature: the "proxy_no_cache" and "fastcgi_no_cache" directives.
*) Feature: now the "rewrite" directive does a redirect automatically
if the $scheme variable is used.
Thanks to Piotr Sikora.
*) Bugfix: now "limit_req" delay directive conforms to the described
algorithm.
Thanks to Maxim Dounin.
*) Bugfix: the $uid_got variable might not be used in the SSI and perl
modules.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 24 May 2010 00:00:00 +0400 |
parents | f7ec98e3caeb |
children | ad25218fd14b |
comparison
equal
deleted
inserted
replaced
571:5b59e716792b | 572:ff463db0be31 |
---|---|
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; |