<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>No input file specified</title>
        <description> Hi,

I deploy the application using Capistrano to /var/nginx/www/myapp. The
current code is always at /var/nginx/www/myapp/current.

So I changes the server's root folder to /var/nginx/www/myapp/current
hoping that the location specs would be raktive to this folder. Since
then I get the &amp;quot;No input file specified.&amp;quot; error.

I also have fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;

What might be wrong?

Thanks,
Yash

_______________________________________________
nginx mailing list
&amp;#110;&amp;#103;&amp;#105;&amp;#110;&amp;#120;&amp;#64;&amp;#110;&amp;#103;&amp;#105;&amp;#110;&amp;#120;&amp;#46;&amp;#111;&amp;#114;&amp;#103;
http://mailman.nginx.org/mailman/listinfo/nginx</description>
        <link>http://www.serverphorums.com/read.php?5,537050,537050#msg-537050</link>
        <lastBuildDate>Thu, 20 Jun 2013 09:48:26 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,537050,538331#msg-538331</guid>
            <title>Re: No input file specified</title>
            <link>http://www.serverphorums.com/read.php?5,537050,538331#msg-538331</link>
            <description><![CDATA[ On Mon, Jul 30, 2012 at 01:46:19AM -0400, yashgt wrote:<br />
<br />
Hi there,<br />
<br />
&gt; When I access <a href="http://localhost:82/index.php" target="_blank"  rel="nofollow">http://localhost:82/index.php</a><br />
&gt; I get &quot;No input file specified.&quot;<br />
<br />
That message (usually) comes from the fastcgi server, and (usually)<br />
means that the SCRIPT_FILENAME that was sent was not found by that server.<br />
<br />
From your configuration, it looks like that for this request, SCRIPT_FILENAME is <br />
/cygdrive/e/xampp/htdocs/getit/src/myapp/index.php .<br />
<br />
Does that filename exist, from the point of view of the fastcgi server?<br />
<br />
(The &quot;/cygdrive/&quot; bit suggests that cygwin is involved somehow. Is<br />
php running under cygwin? Does it have the same view of the filesystem<br />
as nginx?)<br />
<br />
	f<br />
-- <br />
Francis Daly        <a href="mailto:&#102;&#114;&#97;&#110;&#99;&#105;&#115;&#64;&#100;&#97;&#111;&#105;&#110;&#101;&#46;&#111;&#114;&#103;">&#102;&#114;&#97;&#110;&#99;&#105;&#115;&#64;&#100;&#97;&#111;&#105;&#110;&#101;&#46;&#111;&#114;&#103;</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>Francis Daly</dc:creator>
            <category>Nginx</category>
            <pubDate>Tue, 31 Jul 2012 20:00:03 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,537050,537260#msg-537260</guid>
            <title>Re: No input file specified</title>
            <link>http://www.serverphorums.com/read.php?5,537050,537260#msg-537260</link>
            <description><![CDATA[ When I access <a href="http://localhost:82/index.php" target="_blank"  rel="nofollow">http://localhost:82/index.php</a><br />
I get &quot;No input file specified.&quot;<br />
<br />
I have php running using:<br />
php-cgi -b 127.0.0.1:9000<br />
<br />
My conf file is:<br />
    server {<br />
        listen 82 default;<br />
    ## SSL directives might go here<br />
        <br />
		server_name localhost 127.0.0.1 *;<br />
<br />
        root /cygdrive/e/xampp/htdocs/getit/src/myapp;<br />
		error_log /cygdrive/e/nginx.error.log notice;<br />
		access_log /cygdrive/e/nginx.access.log ;<br />
	<br />
		rewrite_log on;<br />
        <br />
        location / {<br />
            index index.html index.php; ## Allow a static html file to<br />
be shown first<br />
            try_files $uri $uri/ @magehandler; ## If missing pass the<br />
URI to Magento's front handler<br />
        }<br />
     <br />
        ## These locations would be hidden by .htaccess normally<br />
        location ^~ /app/                { deny all; }<br />
        location ^~ /includes/           { deny all; }<br />
        location ^~ /lib/                { deny all; }<br />
        location ^~ /media/downloadable/ { deny all; }<br />
        location ^~ /pkginfo/            { deny all; }<br />
        location ^~ /report/config.xml   { deny all; }<br />
        location ^~ /var/                { deny all; }<br />
     <br />
        location ^~  /. { ## Disable .htaccess and other hidden files<br />
            return 404;<br />
        }<br />
	<br />
		#Any request that does not match the regex locations below is sent<br />
here<br />
        location @handler { ## Magento uses a common front handler<br />
            <br />
            rewrite / /index.php$1 last;<br />
        }<br />
        location @magehandler { ## Magento uses a common front handler<br />
            <br />
            rewrite (.*) /index.php$1 last;<br />
        }<br />
<br />
		#The more-specific regex are at the top.<br />
		#The regex's are evaluated in the order in which they appear.<br />
        location ~ .php.*$ { ## Execute PHP scripts<br />
            <br />
     		proxy_read_timeout 120;<br />
			proxy_connect_timeout 120;<br />
            expires        off; ## Do not cache dynamic content<br />
            fastcgi_pass   127.0.0.1:9000;<br />
            #fastcgi_param  HTTPS $fastcgi_https;<br />
            <br />
			fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;<br />
            fastcgi_param  MAGE_RUN_CODE default; ## Store code is<br />
defined in administration &gt; Configuration &gt; Manage Stores<br />
            fastcgi_param  MAGE_RUN_TYPE store;<br />
            include        fastcgi_params; ## See<br />
/etc/nginx/fastcgi_params<br />
        }<br />
        location ~ /(media|skin|js)/ { }<br />
		location ~ /(tag|admin|customer|wishlist|checkout|catalog|app).*$ {<br />
#store URL<br />
			rewrite /(.*)$ /index.php/$1 last; <br />
		}<br />
		location ~ /[a-zA-Z]+$ { #store URL<br />
			rewrite ^/([a-zA-Z]+) ?store=$1 last;<br />
		}<br />
		location ~ /[a-zA-Z]+/ { #store URL<br />
			rewrite ^/([a-zA-Z]+)(.*) $2?store=$1 last;<br />
		}<br />
    }<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,229066,229086#msg-229086" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,229066,229086#msg-229086</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>yashgt</dc:creator>
            <category>Nginx</category>
            <pubDate>Mon, 30 Jul 2012 07:50:06 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,537050,537075#msg-537075</guid>
            <title>Re: No input file specified</title>
            <link>http://www.serverphorums.com/read.php?5,537050,537075#msg-537075</link>
            <description><![CDATA[ Are you using Capistrano with PHP?<br />
No input file specified usually if there is no running PHP there.<br />
<br />
Regards,<br />
Joe<br />
<br />
<br />
On Sun, Jul 29, 2012 at 1:39 PM, Yash Ganthe &lt;yashgt@gmail.com&gt; wrote:<br />
<br />
&gt; Hi,<br />
&gt;<br />
&gt; I deploy the application using Capistrano to /var/nginx/www/myapp. The<br />
&gt; current code is always at /var/nginx/www/myapp/current.<br />
&gt;<br />
&gt; So I changes the server's root folder to /var/nginx/www/myapp/current<br />
&gt; hoping that the location specs would be raktive to this folder. Since<br />
&gt; then I get the &quot;No input file specified.&quot; error.<br />
&gt;<br />
&gt; I also have fastcgi_param  SCRIPT_FILENAME<br />
&gt;  $document_root$fastcgi_script_name;<br />
&gt;<br />
&gt; What might be wrong?<br />
&gt;<br />
&gt; Thanks,<br />
&gt; Yash<br />
&gt;<br />
&gt; _______________________________________________<br />
&gt; nginx mailing list<br />
&gt; <a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
&gt; <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a><br />
&gt;<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>Joe</dc:creator>
            <category>Nginx</category>
            <pubDate>Sun, 29 Jul 2012 12:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,537050,537050#msg-537050</guid>
            <title>No input file specified</title>
            <link>http://www.serverphorums.com/read.php?5,537050,537050#msg-537050</link>
            <description><![CDATA[ Hi,<br />
<br />
I deploy the application using Capistrano to /var/nginx/www/myapp. The<br />
current code is always at /var/nginx/www/myapp/current.<br />
<br />
So I changes the server's root folder to /var/nginx/www/myapp/current<br />
hoping that the location specs would be raktive to this folder. Since<br />
then I get the &quot;No input file specified.&quot; error.<br />
<br />
I also have fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;<br />
<br />
What might be wrong?<br />
<br />
Thanks,<br />
Yash<br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>Yash Ganthe</dc:creator>
            <category>Nginx</category>
            <pubDate>Sun, 29 Jul 2012 08:40:02 +0200</pubDate>
        </item>
    </channel>
</rss>
