diff src/http/ngx_http_core_module.c @ 3390:8854f4eb2839

fix caseless locations, the bug had been introduced in r3326
author Igor Sysoev <igor@sysoev.ru>
date Thu, 17 Dec 2009 14:25:46 +0000
parents d788521e4b0e
children 4e15548b29d4
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -2588,6 +2588,8 @@ ngx_http_core_regex_location(ngx_conf_t 
 
 #if (NGX_HAVE_CASELESS_FILESYSTEM)
     rc.options = NGX_REGEX_CASELESS;
+#else
+    rc.options = caseless;
 #endif
 
     clcf->regex = ngx_http_regex_compile(cf, &rc);