Mercurial > hg > nginx
comparison src/http/modules/ngx_http_autoindex_module.c @ 637:e60fe4cf1d4e release-0.3.40
nginx-0.3.40-RELEASE import
*) Feature: the ngx_http_dav_module supports the MKCOL method.
*) Feature: the "create_full_put_path" directive.
*) Feature: the "$limit_rate" variable.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 19 Apr 2006 15:30:56 +0000 |
parents | 9262f520ce21 |
children | 4946078f0a79 |
comparison
equal
deleted
inserted
replaced
636:21003753acbf | 637:e60fe4cf1d4e |
---|---|
160 /* TODO: Win32 */ | 160 /* TODO: Win32 */ |
161 if (r->zero_in_uri) { | 161 if (r->zero_in_uri) { |
162 return NGX_DECLINED; | 162 return NGX_DECLINED; |
163 } | 163 } |
164 | 164 |
165 if (r->method != NGX_HTTP_GET && r->method != NGX_HTTP_HEAD) { | |
166 return NGX_DECLINED; | |
167 } | |
168 | |
165 alcf = ngx_http_get_module_loc_conf(r, ngx_http_autoindex_module); | 169 alcf = ngx_http_get_module_loc_conf(r, ngx_http_autoindex_module); |
166 | 170 |
167 if (!alcf->enable) { | 171 if (!alcf->enable) { |
168 return NGX_DECLINED; | 172 return NGX_DECLINED; |
169 } | 173 } |