Mercurial > hg > nginx
comparison src/http/ngx_http.c @ 3633:187783310b65
return code text
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 18 Jun 2010 15:15:20 +0000 |
parents | 4e15548b29d4 |
children | 4430d110293e |
comparison
equal
deleted
inserted
replaced
3632:920919d9148c | 3633:187783310b65 |
---|---|
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) { |