Config help needed

Hi All,

My site is wordpress, and configured as follows.

Statements for virtual server

server {
listen 80;
root /var/www/;
access_log /var/www/;
index index.php index.html index.htm;
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
# protect usage stats
location ^~ /usage/ {
auth_basic “Hello, please login”;
auth_basic_user_file /var/www/;
# all .php requests to fastcgi using uri.
location ~ .php$ {
include /etc/nginx/fastcgi_params;
# fastcgi_param SCRIPT_FILENAME
try_files $uri $uri/ /index.php;

Wordpress works just fine. I have just uploaded a new file to /form.php
and when
I try to browse to it I get the super helpful error message of

No input file specified.

The log says its a 404.

OK - Why do all the wordpress files (mostly php) work just fine, and my
new file does not?



To reply to my own post.

It was a permissions problem. php could not read the file, and was
reporting it as not there!