httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@lerdorf.on.ca (Rasmus Lerdorf)
Subject AnacheNT CGI wrapper problems
Date Fri, 24 Apr 1998 08:00:43 GMT
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


Mime
View raw message