diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-12-28 14:23:52 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-12-28 14:23:52 +0000 |
commit | 3ca233ee5cc0e00fc0d854f779ba5c78cf6b0cba (patch) | |
tree | 082164b43d8c98923c587524bddf19fdab2e13f0 /src/http/modules/ngx_http_index_module.c | |
parent | b0b4973576eead9175faa089e66bdc33b698941d (diff) | |
download | nginx-release-0.3.19.tar.gz nginx-release-0.3.19.zip |
nginx-0.3.19-RELEASE importrelease-0.3.19
*) Feature: the "path" and "alias" directives support the variables.
*) Change: now the "valid_referers" directive again checks the URI part.
*) Bugfix: in SSI handling.
Diffstat (limited to 'src/http/modules/ngx_http_index_module.c')
-rw-r--r-- | src/http/modules/ngx_http_index_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_index_module.c b/src/http/modules/ngx_http_index_module.c index e6e45a17e..4ef291009 100644 --- a/src/http/modules/ngx_http_index_module.c +++ b/src/http/modules/ngx_http_index_module.c @@ -291,7 +291,7 @@ ngx_http_index_handler(ngx_http_request_t *r) uri.len = r->uri.len + ctx->index.len - 1; if (!clcf->alias) { - uri.data = ctx->path.data + clcf->root.len; + uri.data = ctx->path.data + r->root_length; } else { uri.data = ngx_palloc(r->pool, uri.len); |