Falko Timme
January 05, 2012 05:04PM
Have you tried

fastcgi_intercept_errors on;

?

----- Original Message -----
From: Ilan Berkner
To: nginx@nginx.org
Sent: Thursday, January 05, 2012 6:05 PM
Subject: 404 not showing up in error logs (for PHP files)


Hi All,


When a user enters an invalid php file name they are correctly routed to our
default 404.html:


try_files $fastcgi_script_name =404;


The problem is that the 404 error is not showing up in our error logs.


Other 404 errors do show up in our system.


Please advise.


Thanks!



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

404 not showing up in error logs (for PHP files)

Ilan Berkner January 05, 2012 12:06PM

Re: 404 not showing up in error logs (for PHP files)

Falko Timme January 05, 2012 05:04PM

Re: 404 not showing up in error logs (for PHP files)

Francis Daly January 05, 2012 06:34PM

Re: 404 not showing up in error logs (for PHP files)

Ilan Berkner January 05, 2012 06:38PM

Re: 404 not showing up in error logs (for PHP files)

Maxim Dounin January 07, 2012 06:38AM

Re: 404 not showing up in error logs (for PHP files)

kustodian February 10, 2014 10:27AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
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