Can fastcgi_index be used with multiple filenames?

Ian M. Evans ianevans at
Sun Mar 9 01:00:41 MSK 2008

Igor Sysoev wrote:
> Probably, you need
> - location \.(php|shtml)$ {
> + location ~ \.(php|shtml)$ {
> but the .php and .shtml files should be anyway handled by "location /".

I need coffee! :-)

As suggested, I changed it to:

location ~ \.(php|shtml)$

For whatever reason, it's still giving "No input file specified." when 
trying to find either an index.shtml or index.php. It's like it's 
ignoring the:

index index.shtml index.php

More information about the nginx mailing list