Last modified: 2010-05-15 15:33:02 UTC
$wgUsePathInfo = ( strpos( php_sapi_name(), 'cgi' ) === false );
shouldent that be:
$wgUsePathInfo = ( strpos( php_sapi_name(), 'cgi' ) === true );
so that index.php/Main_Page etc works, else it wont.
In file DefultSettings.php
No, that is designed to return false for PHP CGI configurations which are known to
usually fail drastically with PATH_INFO in use, while mod_php configurations (the
recommended way) are known to work.
The test works as intended, and reversing it would produce exactly the wrong result
in probably 99% of cases.
then it just must be me, as i needed to change it. and i am running php as a cgi