When defining a CGI wrapper in ApacheNT, it would be nice if ApacheNT
behaved like IIS, PWS and Netscape on that platform in that the file to be
fed to the CGI wrapper is sent as argv[1] to it.
For example, if I define .php to be a CGI executable to be handled by
"c:\php.exe %s" under IIS, then if I use http://host/file.php/path/info
c:\php.exe gets run, argv[1] is set to /DOC_ROOT/file.php, PATH_INFO is
set to /path/info and PATH_TRANSLATED is set to /DOC_ROOT/path/info
This is consistent with what happens under PWS and Netscape as well.
Right now the only web server that doesn't run the CGI version of PHP on
NT well is ApacheNT.
-Rasmus
|