comparison src/http/modules/ngx_http_autoindex_module.c @ 645:4946078f0a79 release-0.3.44

nginx-0.3.44-RELEASE import *) Feature: the "wait" parameter in the "include" SSI command. *) Feature: the Ukrainian and Byelorussian characters were added to koi-win conversion table. *) Bugfix: in the SSI.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 04 May 2006 15:32:46 +0000
parents e60fe4cf1d4e
children 400711951595
comparison
equal deleted inserted replaced
644:610ff734a8cc 645:4946078f0a79
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) { 165 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
166 return NGX_DECLINED; 166 return NGX_DECLINED;
167 } 167 }
168 168
169 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);
170 170