comparison src/http/modules/ngx_http_autoindex_module.c @ 186:54aabf2b0bc6 NGINX_0_3_40

nginx 0.3.40 *) 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 <http://sysoev.ru>
date Wed, 19 Apr 2006 00:00:00 +0400
parents 36af50a5582d
children 003bd800ec2a
comparison
equal deleted inserted replaced
185:a9c5dc369ffe 186:54aabf2b0bc6
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 }