Not existant files passed to php backend

Roxis roxis at list.ru
Wed Aug 20 18:34:32 MSD 2008


On Wednesday 20 August 2008, Reinis Rozitis wrote:
> > Nginx passes *.php (matching the regexp) files to the fastcgi backend
> > even they dont exist and instead of the specified error_page displays "No
> > input file specified." (which prolly comes from the php).
>
> Igor can you give a comment on this?
> Is this expected or am I gone wrong with the config?
>
> rr

it is expected

if you don't like php's 404 page
set fastcgi_intercept_errors to on





More information about the nginx mailing list