Mercurial > hg > nginx-ranges
comparison src/http/modules/ngx_http_random_index_module.c @ 585: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 | 0dc162a5f3e8 |
children |
comparison
equal
deleted
inserted
replaced
584:5b59e716792b | 585:ff463db0be31 |
---|---|
84 | 84 |
85 if (r->uri.data[r->uri.len - 1] != '/') { | 85 if (r->uri.data[r->uri.len - 1] != '/') { |
86 return NGX_DECLINED; | 86 return NGX_DECLINED; |
87 } | 87 } |
88 | 88 |
89 if (r->zero_in_uri) { | |
90 return NGX_DECLINED; | |
91 } | |
92 | |
93 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) { | 89 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) { |
94 return NGX_DECLINED; | 90 return NGX_DECLINED; |
95 } | 91 } |
96 | 92 |
97 rlcf = ngx_http_get_module_loc_conf(r, ngx_http_random_index_module); | 93 rlcf = ngx_http_get_module_loc_conf(r, ngx_http_random_index_module); |