[TYPO3-core] RFC: Bug #5548: cli_dispatch.phpsh will not run on CGI API

Steffen Gebert steffen at steffen-gebert.de
Tue Jan 20 23:00:13 CET 2009


Hi,

attached new version of the patch with sanity checks and a hint, if environment variables are defined.

It would be nice if sb. running other platforms (Fast-CGI, BSD, Windows) could check my test snippet from my previous mail there.

Steffen Gebert wrote:
> The following $_SERVER-keys are not defined in CGI:
> 'HTTP_USER_AGENT', 'HTTP_HOST', 'SERVER_NAME', 'REMOTE_ADDR',
> 'REMOTE_PORT', 'SERVER_PROTOCOL', 'REQUEST_URI'
REQUEST_URI was my test to ensure it works at all.. it IS defined in CGI mode, too!

Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5548_cli_dispatch.phpsh_v3.patch
Type: text/x-patch
Size: 1675 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090120/c39b1cf2/attachment.bin 


More information about the TYPO3-team-core mailing list