Welcome! Log In Create A New Profile

Advanced

Re: No input file specified

July 30, 2012 01:46AM
When I access http://localhost:82/index.php
I get "No input file specified."

I have php running using:
php-cgi -b 127.0.0.1:9000

My conf file is:
server {
listen 82 default;
## SSL directives might go here

server_name localhost 127.0.0.1 *;

root /cygdrive/e/xampp/htdocs/getit/src/myapp;
error_log /cygdrive/e/nginx.error.log notice;
access_log /cygdrive/e/nginx.access.log ;

rewrite_log on;

location / {
index index.html index.php; ## Allow a static html file to be shown first
try_files $uri $uri/ @magehandler; ## If missing pass the URI to Magento's front handler
}

## These locations would be hidden by .htaccess normally
location ^~ /app/ { deny all; }
location ^~ /includes/ { deny all; }
location ^~ /lib/ { deny all; }
location ^~ /media/downloadable/ { deny all; }
location ^~ /pkginfo/ { deny all; }
location ^~ /report/config.xml { deny all; }
location ^~ /var/ { deny all; }

location ^~ /. { ## Disable .htaccess and other hidden files
return 404;
}

#Any request that does not match the regex locations below is sent here
location @handler { ## Magento uses a common front handler

rewrite / /index.php$1 last;
}
location @magehandler { ## Magento uses a common front handler

rewrite (.*) /index.php$1 last;
}

#The more-specific regex are at the top.
#The regex's are evaluated in the order in which they appear.
location ~ .php.*$ { ## Execute PHP scripts

proxy_read_timeout 120;
proxy_connect_timeout 120;
expires off; ## Do not cache dynamic content
fastcgi_pass 127.0.0.1:9000;
#fastcgi_param HTTPS $fastcgi_https;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param MAGE_RUN_CODE default; ## Store code is defined in administration > Configuration > Manage Stores
fastcgi_param MAGE_RUN_TYPE store;
include fastcgi_params; ## See /etc/nginx/fastcgi_params
}
location ~ /(media|skin|js)/ { }
location ~ /(tag|admin|customer|wishlist|checkout|catalog|app).*$ { #store URL
rewrite /(.*)$ /index.php/$1 last;
}
location ~ /[a-zA-Z]+$ { #store URL
rewrite ^/([a-zA-Z]+) ?store=$1 last;
}
location ~ /[a-zA-Z]+/ { #store URL
rewrite ^/([a-zA-Z]+)(.*) $2?store=$1 last;
}
}
Subject Author Posted

No input file specified

Yash Ganthe July 29, 2012 02:40AM

Re: No input file specified

Joe July 29, 2012 06:12AM

Re: No input file specified

yashgt July 30, 2012 01:46AM

Re: No input file specified

Francis Daly July 31, 2012 01:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 322
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready