Welcome! Log In Create A New Profile

Advanced

Re: Are fastcgi_params case-sensitive

November 02, 2010 07:29PM
On Tue, 02 Nov 2010 18:17:54 -0400, Frank Church <vfclists@gmail.com> wrote:

> I have spent a few hours trying to debug 'No input file specified' errors
> until I realized that the script_filename must be specified in upper case
>
> ie,
>
> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
>
> rather than
>
> fastcgi_param script_filename $document_root$fastcgi_script_name;
>
>
> Has it always been this way?
>

On the one hand, it appears to be a bug. On the other, I don't think it's a bug in nginx. The FastCGI is just receiving the variables over the socket, including SCRIPT_FILENAME. It would therefore be a bug in the program receiving from the CGI side (I'm guessing PHP?). By the way, SCRIPT_FILENAME is not a standard CGI meta-variable.

http://tools.ietf.org/html/rfc3875#section-4.1

4.1. Request Meta-Variables

Meta-variables contain data about the request passed from the server
to the script, and are accessed by the script in a system-defined
manner. Meta-variables are identified by case-insensitive names[.]

helen
Subject Author Posted

Are fastcgi_params case-sensitive

Frank Church November 02, 2010 06:22PM

Re: Are fastcgi_params case-sensitive

helen November 02, 2010 07:29PM

Re: Are fastcgi_params case-sensitive

Maxim Dounin November 02, 2010 07:40PM

Re: Are fastcgi_params case-sensitive

vesperto November 02, 2010 07:46PM

Re: Are fastcgi_params case-sensitive

Frank Church November 03, 2010 12:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready