Есть конфиг nginx
----------------------------
user www;
worker_processes 1;events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
server {
listen 80;
server_name localhost;
charset utf-8;
location / {
root /usr/local/www/nginx;
index index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param script_FILENAME /usr/local/www/nginx$fastcgi_script_name;
include fastcgi_params;
}
}
}
-----------------------
При попытке зайти через браузер
No input file specified.
В логах 404 ошибка
-----------------
[29/Jun/2010:15:53:34 +0700] "GET /1.php HTTP/1.1" 404 36 "-" "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.2.15 Version/10.10"
--------------------
Сам скрипт расположен /usr/local/www/nginx/1.php