comparison src/http/modules/ngx_http_autoindex_module.c @ 194:003bd800ec2a NGINX_0_3_44

nginx 0.3.44 *) 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 <http://sysoev.ru>
date Thu, 04 May 2006 00:00:00 +0400
parents 54aabf2b0bc6
children 3866d57d9cfd
comparison
equal deleted inserted replaced
193:2a1394604ae9 194:003bd800ec2a
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