Welcome! Log In Create A New Profile

Advanced

Shouldn't this trigger an nginx 404?

March 24, 2009 08:36PM
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)"
Subject Author Posted

Shouldn't this trigger an nginx 404?

mike March 24, 2009 08:36PM

Re: Shouldn't this trigger an nginx 404?

Igor Sysoev March 25, 2009 11:35AM

Re: Shouldn't this trigger an nginx 404?

mike March 26, 2009 12:29AM

Re: Shouldn't this trigger an nginx 404?

Igor Sysoev March 26, 2009 03:25AM

Re: Shouldn't this trigger an nginx 404?

mike March 26, 2009 04:13AM

Re: Shouldn't this trigger an nginx 404?

Igor Sysoev March 26, 2009 05:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 263
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready