On Thu, May 21, 2009 at 11:41:45PM +0700, Edho P Arief wrote:
> On Thu, May 21, 2009 at 11:25 PM, APseudoUtopia <apseudoutopia@gmail.com> wrote:
> > Hey everyone,
> >
> > This seems like it would be easily solved, but I'm not sure how. I
> > just finished setting up PHP on my system. It runs fine. However, when
> > I browse to a page like
> > "http://domain.com/this-php-script-does-not-exist.php" it returns "No
> > input file specified" instead of a normal nginx 404 error. I'm trying
> > to get it to display a normal 404 error instead. I've tried toggling
> > the fastcgi_intercept_errors, which seems like it would fix the
> > problem, however it didn't work.
> >
> > I'm running nginx stable, 0.6.37.
> >
> > It seems that try_files would work somehow, but my understanding is
> > that try_files does not exist in 0.6.37?
> >
> > My FastCGI config is below.
> >
> > location ~ .*\.php$ {
> if (!-f $request_filename) { return 404; break; }
NO! NO! NO!
> >