# HG changeset patch # User Igor Sysoev # Date 1261059946 0 # Node ID 8854f4eb28392e07cdddad415fc55d15561f5dc8 # Parent de27a5d044ff204b45d86c26e2e5f7258c5440ff fix caseless locations, the bug had been introduced in r3326 diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- 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);