diff options
author | florian | 2014-03-17 13:39:29 +0000 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-05-24 12:33:55 +0200 |
commit | 4e7c58a85289fd84aef1aebf1c8afb58b4322dd6 (patch) | |
tree | 1303a01408377227892fca24281533a8c011d348 /getdtablecount.c | |
parent | ecf9d02f8ee54a5ae0f36af0e6750f848bc06285 (diff) | |
download | slowcgi-4e7c58a85289fd84aef1aebf1c8afb58b4322dd6.tar.gz |
jturner pointed out that if one wants to run cgi scripts outside /cgi-bin SCRIPT_NAME doesn't cut it. The spec says: "The SCRIPT_NAME variable MUST be set to a URL path". Use SCRIPT_FILENAME which can be an absolute filesystem path for these cases and fall back to using SCRIPT_NAME if SCRIPT_FILENAME is not present. Details how to handle this worked out by jturner and sthen. Based on an erlier diff by jturner. Tested by jturner OK jturner, sthen
Diffstat (limited to 'getdtablecount.c')
0 files changed, 0 insertions, 0 deletions