Last modified: 2010-05-15 15:33:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3273 - $wgUsePathInfo incorrectly set
$wgUsePathInfo incorrectly set
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.4.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-26 01:06 UTC by Boyd Pearson
Modified: 2010-05-15 15:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Boyd Pearson 2005-08-26 01:06:55 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.
Comment 1 Boyd Pearson 2005-08-26 01:09:12 UTC
In file DefultSettings.php
Comment 2 Brion Vibber 2005-08-26 02:00:31 UTC
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.
Comment 3 Boyd Pearson 2005-08-26 20:11:40 UTC
then it just must be me, as i needed to change it. and i am running php as a cgi
mod 

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links