Page MenuHomePhabricator

404 error after installation under IIS
Closed, DeclinedPublic

Description

Author: daniel

Description:
After installing MediaWiki onto IIS 5.1 and after moving the LocalSettings.php file
and deleting the config folder it says go to http://localhost/wiki/index.php I do and
it redirects to http://localhost/wiki/index.php?title=Main_Page and says "Page cannot
be displayed". Why is this coming up and how do I get it working?


Version: 1.6.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz5920

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:13 PM
bzimport set Reference to bz5920.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Check the IIS error logs for clues.

daniel wrote:

(In reply to comment #1)

Check the IIS error logs for clues.

There are no error log entries at the time of the 404 error.

robchur wrote:

(In reply to comment #3)

http://localhost/wiki/* should redirect to
http://localhost/w/index.php?title=*

Not on a default installation where URL rewriting hasn't been set up yet.

ultima287 wrote:

I've run into this bug as well. Not a clue as to where to start looking.

robchur wrote:

To those who've experienced this, can we have some more detail such as the OS,
etc? I'd like to attempt to reproduce it if possible.

From my experience trying to set things up under IIS today, I'm guessing likely
problems:

  • PHP not configured right for IIS (but in that case the installer shouldn't

work either)

  • PHP's session directory is not set up correctly

Going to WORKSFORME this; if it continues to fail with 1.9.0/1.9.1, please add
detail.