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 people might conceivably > want to use with slowcgi, such as lighttpd). > > Still, I don't see a better way to handle this, and replacing Apache > is going to need to support cgis outside of /cgi-bin one way or another. > But I do think it should fallback to using SCRIPT_NAME if the > SCRIPT_FILENAME variable isn't present, so that standard fastcgi > servers can use it to some extent too. >
... also, the fastcgi_split_path_info in default config would need adjusting for a cgi outside of cgi-bin. (I didn't notice this before as I've had my own config block for this from before slowcgi existed that I haven't merged in..).
