Shouldn't this trigger an nginx 404?

Michael Shadle mike503 at
Wed Mar 25 03:36:14 MSK 2009

in PHP?

header("HTTP/1.0 404 Not Found");

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/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:
Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)"

More information about the nginx mailing list