comparison src/http/ngx_http_core_module.c @ 207:6e0fef527732

nginx-0.0.1-2003-12-05-20:07:27 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 05 Dec 2003 17:07:27 +0000
parents 9aa426375256
children 0b67be7d4489
comparison
equal deleted inserted replaced
206:9aa426375256 207:6e0fef527732
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
522 r->content_handler = clcf->handler; 517 r->content_handler = clcf->handler;
523 r->phase++;
524 } 518 }
525 519
526 return NGX_OK; 520 return NGX_OK;
527 } 521 }
528 522