diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-07-30 09:15:47 +0000 |
|---|---|---|
| committer | Jonathan Kolb <jon@b0g.us> | 2007-07-30 09:15:47 +0000 |
| commit | ad5526a0773dea7fca82cca22433e2cb0b327837 (patch) | |
| tree | 83f8ffae019ea0d39633c2c5520b3dfa6cfd47d2 /src/http/ngx_http_special_response.c | |
| parent | b9b71bc11c42dce8b014ee3cf3a1f5dc7b9ecc2f (diff) | |
| download | nginx-ad5526a0773dea7fca82cca22433e2cb0b327837.tar.gz | |
Changes with nginx 0.6.6 30 Jul 2007v0.6.6
*) Feature: the --sysconfdir=PATH option in configure.
*) Feature: named locations.
*) Feature: the $args variable can be set with the "set" directive.
*) Feature: the $is_args variable.
*) Bugfix: fair big weight upstream balancer.
*) Bugfix: if a client has closed connection to mail proxy then nginx
might not close connection to backend.
*) Bugfix: if the same host without specified port was used as backend
for HTTP and HTTPS, then nginx used only one port - 80 or 443.
*) Bugfix: fix building on Solaris/amd64 by Sun Studio 11 and early
versions; bug appeared in 0.6.4.
Diffstat (limited to 'src/http/ngx_http_special_response.c')
| -rw-r--r-- | src/http/ngx_http_special_response.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c index 2598116f7..1797603a0 100644 --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -409,6 +409,10 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error) return ngx_http_internal_redirect(r, uri, NULL); } + if (uri->data[0] == '@') { + return ngx_http_named_location(r, uri); + } + r->headers_out.location = ngx_list_push(&r->headers_out.headers); |
