aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_static_handler.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-18 21:34:08 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-18 21:34:08 +0000
commit1b138ed141c0bdb0c9944c1ae70e53682ed2d035 (patch)
treec5b4cabecced530570f4a2d6a93cc7d5fc8e044e /src/http/modules/ngx_http_static_handler.c
parent222a2adf40eb25ff613c251f15032f1e39d7f609 (diff)
downloadnginx-1b138ed141c0bdb0c9944c1ae70e53682ed2d035.tar.gz
nginx-1b138ed141c0bdb0c9944c1ae70e53682ed2d035.zip
nginx-0.0.1-2003-11-19-00:34:08 import
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r--src/http/modules/ngx_http_static_handler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c
index c92287082..69f1a1417 100644
--- a/src/http/modules/ngx_http_static_handler.c
+++ b/src/http/modules/ngx_http_static_handler.c
@@ -200,8 +200,10 @@ ngx_log_debug(r->connection->log, "HTTP DIR: '%s'" _ r->file.name.data);
*last++ = '/';
*last = '\0';
+#if 0
r->headers_out.location->key.len = 8;
r->headers_out.location->key.data = "Location" ;
+#endif
r->headers_out.location->value.len = last - location;
r->headers_out.location->value.data = location;