Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_autoindex_module.c @ 615: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 | 8246d8a2c2be |
children |
comparison
equal
deleted
inserted
replaced
614:5b59e716792b | 615:ff463db0be31 |
---|---|
158 | 158 |
159 if (r->uri.data[r->uri.len - 1] != '/') { | 159 if (r->uri.data[r->uri.len - 1] != '/') { |
160 return NGX_DECLINED; | 160 return NGX_DECLINED; |
161 } | 161 } |
162 | 162 |
163 if (r->zero_in_uri) { | |
164 return NGX_DECLINED; | |
165 } | |
166 | |
167 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { | 163 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { |
168 return NGX_DECLINED; | 164 return NGX_DECLINED; |
169 } | 165 } |
170 | 166 |
171 alcf = ngx_http_get_module_loc_conf(r, ngx_http_autoindex_module); | 167 alcf = ngx_http_get_module_loc_conf(r, ngx_http_autoindex_module); |