commit | 77e44d60e698c2164f610072e9f7e2bacefdd589 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sat Jun 09 23:49:05 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sat Jun 09 23:49:05 2007 +0000 |
tree | aead8cb0cf31e55735bd7681544f0c61290cbbae | |
parent | 66db264a5fd67ce4573c905c897a1e80ff26a461 [diff] |
httpd: move data off bss. httpd: do not realpath() for SCRIPT_FILENAME - it resolves symlinks but it should not: - /* SCRIPT_FILENAME required by PHP in CGI mode */ - if (!realpath(purl + 1, realpath_buff)) - goto error_execing_cgi; - setenv1("SCRIPT_FILENAME", realpath_buff); + + /* SCRIPT_FILENAME required by PHP in CGI mode */ + fullpath = concat_path_file(home_httpd, purl); + setenv1("SCRIPT_FILENAME", fullpath);