No input file specified by FastCGI

Maxim Dounin mdounin at mdounin.ru
Tue Jun 16 20:12:50 MSD 2009


Hello!

On Tue, Jun 16, 2009 at 09:39:55AM -0400, meal wrote:

> Hi,
> We have our own framework written in PHP, but it's using .html extension (and change of this is not possible).
> So when I put appropriate block in config, part of site is working, but few rewrites is not.
> 
> here is my .html parsing block
> 
> location ~ \.html$ {
>         if (!-f $request-filename) { return 404; break; }

-         if (!-f $request-filename) { return 404; break; }
+         if (!-f $request_filename) { return 404; break; }

Maxim Dounin





More information about the nginx mailing list