Re: Use SCRIPT_FILENAME in slowcgi

2014-03-16 Thread James Turner
On Sun, Mar 16, 2014 at 04:01:04PM +, Florian Obser wrote: > On Fri, Mar 07, 2014 at 10:35:37PM -0500, James Turner wrote: > > On Fri, Mar 07, 2014 at 11:20:53PM +, Stuart Henderson wrote: > > > I've been umming and ahhing about this diff, the thing I don't like is > > > that SCRIPT_FILENAM

Re: Use SCRIPT_FILENAME in slowcgi

2014-03-16 Thread Florian Obser
On Fri, Mar 07, 2014 at 10:35:37PM -0500, James Turner wrote: > On Fri, Mar 07, 2014 at 11:20:53PM +, Stuart Henderson wrote: > > I've been umming and ahhing about this diff, the thing I don't like is > > that SCRIPT_FILENAME is an Apache extension rather than part of the > > standard CGI varia

Re: Use SCRIPT_FILENAME in slowcgi

2014-03-07 Thread James Turner
On Fri, Mar 07, 2014 at 11:20:53PM +, Stuart Henderson wrote: > I've been umming and ahhing about this diff, the thing I don't like is > that SCRIPT_FILENAME is an Apache extension rather than part of the > standard CGI variables, which explains why it's not included by > default in nginx (or o

Re: Use SCRIPT_FILENAME in slowcgi

2014-03-07 Thread Stuart Henderson
On 2014/03/07 23:20, Stuart Henderson wrote: > I've been umming and ahhing about this diff, the thing I don't like is > that SCRIPT_FILENAME is an Apache extension rather than part of the > standard CGI variables, which explains why it's not included by > default in nginx (or other servers that peo

Re: Use SCRIPT_FILENAME in slowcgi

2014-03-07 Thread Stuart Henderson
On 2014/03/07 18:04, James Turner wrote: > If we want to keep it simple we can just go this route. > > On Sat, Mar 01, 2014 at 04:39:49PM -0500, James Turner wrote: > > The attached diff uses SCRIPT_FILENAME instead of SCRIPT_NAME to > > determine the path of CGI scripts in slowcgi. It also update

Re: Use SCRIPT_FILENAME in slowcgi

2014-03-07 Thread James Turner
If we want to keep it simple we can just go this route. On Sat, Mar 01, 2014 at 04:39:49PM -0500, James Turner wrote: > The attached diff uses SCRIPT_FILENAME instead of SCRIPT_NAME to > determine the path of CGI scripts in slowcgi. It also updates the > example in nginx.conf. > > According to CG

Use SCRIPT_FILENAME in slowcgi

2014-03-01 Thread James Turner
The attached diff uses SCRIPT_FILENAME instead of SCRIPT_NAME to determine the path of CGI scripts in slowcgi. It also updates the example in nginx.conf. According to CGI/1.1: "The SCRIPT_NAME variable MUST be set to a URL path (not URL-encoded) which could identify the CGI script (rather