comparison src/http/ngx_http_core_module.c @ 206:9aa426375256

nginx-0.0.1-2003-12-05-10:11:46 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 05 Dec 2003 07:11:46 +0000
parents 4a9a2b1dd6fa
children 6e0fef527732
comparison
equal deleted inserted replaced
205:4a9a2b1dd6fa 206:9aa426375256
512 512
513 return NGX_HTTP_MOVED_PERMANENTLY; 513 return NGX_HTTP_MOVED_PERMANENTLY;
514 } 514 }
515 515
516 if (clcf->handler) { 516 if (clcf->handler) {
517 /*
518 * if the location already has content handler then skip
519 * the translation phase
520 */
521
517 r->content_handler = clcf->handler; 522 r->content_handler = clcf->handler;
523 r->phase++;
518 } 524 }
519 525
520 return NGX_OK; 526 return NGX_OK;
521 } 527 }
522 528