Bug #14454
closedsuphp and php_sapi_name()
0%
Description
suphp resolves here with "cgi" for the function php_sapi_name(); This is used in t3lib/class.t3lib_div.php
install suphp
call the backend (www.website.my/typo3/index.php)
I did the following to fix it:
t3lib/class.t3lib_div.php
case 'SCRIPT_NAME':
return php_sapi_name()=='cgi' ? $HTTP_SERVER_VARS['PATH_INFO'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];
break;
< case 'SCRIPT_NAME':
< return ($HTTP_SERVER_VARS['SCRIPT_NAME']) ? $HTTP_SERVER_VARS['SCRIPT_NAME'] : $HTTP_SERVER_VARS['PATH_INFO'];
< break;
(issue imported from #M617)
Updated by old_GerbenVersluis almost 20 years ago
Should be closed since the solution is given :D
Updated by Mathias Schreiber over 18 years ago
TYPO3 Version too old.
The reported version is no longer maintained.
If this bug still persists in 4.0.1, please re-open it again and set the field "Product Version" to the corresponding version.