comparison src/http/ngx_http.c @ 580:4d3e880ce86c NGINX_0_8_42

nginx 0.8.42 *) Change: now nginx tests locations given by regular expressions, if request was matched exactly by a location given by a prefix string. The previous behavior has been introduced in 0.7.1. *) Feature: the ngx_http_scgi_module. Thanks to Manlio Perillo. *) Feature: a text answer may be added to a "return" directive.
author Igor Sysoev <http://sysoev.ru>
date Mon, 21 Jun 2010 00:00:00 +0400
parents 2da4537168f8
children 016632f0fb18
comparison
equal deleted inserted replaced
579:c570633043e7 580:4d3e880ce86c
507 507
508 case NGX_HTTP_SERVER_REWRITE_PHASE: 508 case NGX_HTTP_SERVER_REWRITE_PHASE:
509 if (cmcf->phase_engine.server_rewrite_index == (ngx_uint_t) -1) { 509 if (cmcf->phase_engine.server_rewrite_index == (ngx_uint_t) -1) {
510 cmcf->phase_engine.server_rewrite_index = n; 510 cmcf->phase_engine.server_rewrite_index = n;
511 } 511 }
512 checker = ngx_http_core_generic_phase; 512 checker = ngx_http_core_rewrite_phase;
513 513
514 break; 514 break;
515 515
516 case NGX_HTTP_FIND_CONFIG_PHASE: 516 case NGX_HTTP_FIND_CONFIG_PHASE:
517 find_config_index = n; 517 find_config_index = n;
524 524
525 case NGX_HTTP_REWRITE_PHASE: 525 case NGX_HTTP_REWRITE_PHASE:
526 if (cmcf->phase_engine.location_rewrite_index == (ngx_uint_t) -1) { 526 if (cmcf->phase_engine.location_rewrite_index == (ngx_uint_t) -1) {
527 cmcf->phase_engine.location_rewrite_index = n; 527 cmcf->phase_engine.location_rewrite_index = n;
528 } 528 }
529 checker = ngx_http_core_generic_phase; 529 checker = ngx_http_core_rewrite_phase;
530 530
531 break; 531 break;
532 532
533 case NGX_HTTP_POST_REWRITE_PHASE: 533 case NGX_HTTP_POST_REWRITE_PHASE:
534 if (use_rewrite) { 534 if (use_rewrite) {