comparison src/http/ngx_http_special_response.c @ 322:56675f002600 NGINX_0_5_31

nginx 0.5.31 *) Feature: named locations. *) Feature: the "proxy_store" and "fastcgi_store" directives. *) Feature: the "proxy_store_access" and "fastcgi_store_access" directives.
author Igor Sysoev <http://sysoev.ru>
date Wed, 15 Aug 2007 00:00:00 +0400
parents 24def6198d7f
children 26ff8d6b618d
comparison
equal deleted inserted replaced
321:6762c33c7da8 322:56675f002600
407 407
408 if (uri->data[0] == '/') { 408 if (uri->data[0] == '/') {
409 return ngx_http_internal_redirect(r, uri, NULL); 409 return ngx_http_internal_redirect(r, uri, NULL);
410 } 410 }
411 411
412 if (uri->data[0] == '@') {
413 return ngx_http_named_location(r, uri);
414 }
415
412 r->headers_out.location = 416 r->headers_out.location =
413 ngx_list_push(&r->headers_out.headers); 417 ngx_list_push(&r->headers_out.headers);
414 418
415 if (r->headers_out.location) { 419 if (r->headers_out.location) {
416 error = NGX_HTTP_MOVED_TEMPORARILY; 420 error = NGX_HTTP_MOVED_TEMPORARILY;