Last modified: 2011-10-12 01:16:47 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 4258 - When installing under IIS, $wgArticlePath = "$wgScript?title=$1" should be set
When installing under IIS, $wgArticlePath = "$wgScript?title=$1" should be set
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.6.x
PC All
: Normal enhancement (vote)
: ---
Assigned To: Rob Church
: patch
: 1832 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-12 14:15 UTC by Rob Church
Modified: 2011-10-12 01:16 UTC (History)
2 users (show)

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


Attachments
Patch against CVS HEAD (981 bytes, patch)
2005-12-13 16:08 UTC, Rob Church
Details

Description Rob Church 2005-12-12 14:15:35 UTC
Upon installing MediaWiki under IIS, the $wgArticlePath option in
LocalSettings.php is often set incorrectly to the "pretty URLs". Because of the
way PHP works with IIS, this is wrong, and causes a 404 not found error.

Proposed solution is to force this option to use the ugly URLs when using IIS.
This can be done during install, or manually during execution.

Patch will likely follow.
Comment 1 Rob Church 2005-12-13 16:08:21 UTC
Created attachment 1182 [details]
Patch against CVS HEAD

OK, the patch improves the detection for php_sapi_name(), and adds "isapi" to
the list of cases where ugly URLs will be used.

It also made no sense to default to pretty URLs when they might not work, so I
altered the default to ugly URLs in unknown cases.
Comment 2 Brion Vibber 2005-12-13 22:09:25 UTC
Applied to HEAD, without the redundant strtolower() as discussed on IRC.
Comment 3 Zigger 2005-12-30 22:21:43 UTC
*** Bug 1832 has been marked as a duplicate of this bug. ***

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


Navigation
Links