comparison src/http/ngx_http_special_response.c @ 402:ccd136b40665

Merge with current.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 14 Aug 2008 00:32:13 +0400
parents 349057ecf4d5
children 6ebbca3d5ed7
comparison
equal deleted inserted replaced
399:5c4b468a4f90 402:ccd136b40665
369 369
370 r->headers_out.content_type.len = 0; 370 r->headers_out.content_type.len = 0;
371 371
372 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 372 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
373 373
374 if (!r->error_page && clcf->error_pages) { 374 if (!r->error_page && clcf->error_pages && r->uri_changes != 0) {
375 375
376 if (clcf->recursive_error_pages == 0) { 376 if (clcf->recursive_error_pages == 0) {
377 r->error_page = 1; 377 r->error_page = 1;
378 } 378 }
379 379