diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-01-24 16:08:27 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-01-24 16:08:27 +0000 |
commit | 34303468409089ef2b5bd9739b9c049c393932e4 (patch) | |
tree | 1e47f167cd74beaeca64d863662ed1e82d2cf822 /src/http/modules/ngx_http_static_module.c | |
parent | d94e18746b9e79fbb52cf3012d1692ad893df22e (diff) | |
download | nginx-release-0.3.23.tar.gz nginx-release-0.3.23.zip |
nginx-0.3.23-RELEASE importrelease-0.3.23
*) Feature: the "optimize_host_names" directive.
*) Bugfix: in using of the variables in the "path" and "alias"
directives.
*) Bugfix: the ngx_http_perl_module was incorrectly built on Linux and
Solaris.
Diffstat (limited to 'src/http/modules/ngx_http_static_module.c')
-rw-r--r-- | src/http/modules/ngx_http_static_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c index 42cc676af..0dbec5093 100644 --- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -186,7 +186,7 @@ ngx_http_static_handler(ngx_http_request_t *r) clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); - if (!clcf->alias) { + if (!clcf->alias && clcf->root_lengths == NULL) { location = path.data + clcf->root.len; } else { |