From 1b138ed141c0bdb0c9944c1ae70e53682ed2d035 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 18 Nov 2003 21:34:08 +0000 Subject: nginx-0.0.1-2003-11-19-00:34:08 import --- src/http/modules/ngx_http_static_handler.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/modules/ngx_http_static_handler.c') 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; -- cgit