Jason, thanks alot!
Should this be documented somewhere, anyone?
Regards, Johan
> Your problem has to do with the combination of your suexec-like
> cgi-wrapper and the
> detection algorythem implied in php. CGI mode of php detects your
> webserver by looking at
> various environment rules (eg. SERVER_SOFTWARE). When you a cgi
> is executed by
> the webserver (ex. wrapper.cgi), PATH_TRANSLATED and/or
> SCRIPT_FILENAME is
> set by the webserver to point to the script you just executed,
> which is wrapper.cgi. PHP sees this
> and then decides to execute wrapper.cgi. All you need to do to
> fix your problem is set
> PATH_TRANSLATED to the name of the script you want to run.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]