changeset 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 de27a5d044ff
children 7660f0221cf1
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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);