Shouldn't this trigger an nginx 404?

Igor Sysoev is at rambler-co.ru
Wed Mar 25 18:35:30 MSK 2009


On Tue, Mar 24, 2009 at 05:36:14PM -0700, Michael Shadle wrote:

> in PHP?
> 
> header("HTTP/1.0 404 Not Found");
> exit();
> 
> i even have fastcgi_intercept_errors on; (it wasn't there before)
> 
> ?
> 
> in access.log i see this.. but i was hoping to trigger nginx's error log screen?
> 
> 24.14.13.2 - - [24/Mar/2009:17:35:11 -0700] "GET /foo HTTP/1.1" 404 31
> "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7)
> Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)"

Could you make debug log ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list