Last modified: 2010-05-15 15:29:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2592, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 592 - Connection refused if trying to access index.php
Connection refused if trying to access index.php
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.3.x
PC Windows XP
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-28 07:51 UTC by Soren
Modified: 2010-05-15 15:29 UTC (History)
0 users

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


Attachments

Description Soren 2004-09-28 07:51:04 UTC
Installation is done successfully, everything works fine directly on the Server.
But Wiki can not be opened from the Intranet (URL: http://ip/wiki/), it only
works when index.php?titel=... is specified, too. Page editing does not work
either, whereas preview works.

Server: WinXP Home with WAMP (standard installation, PHP 4.3.6, MySQL 3.23.49)
Comment 1 Brion Vibber 2004-09-28 07:53:38 UTC
Can you confirm that Apache includes 'index.php' in the DirectoryIndex line in
httpd.conf, and that other directories with an index.php work as expected?
Comment 2 Soren 2004-09-28 08:40:32 UTC
Yes, I can confirm that 'index.php' is included in the DirectoryIndex line. It
works for other directories, e.g. http://ip/wiki/config/
which shows that the Wiki is configured.
Comment 3 Brion Vibber 2004-09-28 08:44:20 UTC
Can you check the error log?

Confirm also that the correct absolute URL is being used, and that you're not
being redirected to nowhere. If for instance 'localhost' or '127.0.0.1' or some
other non-valid hostname is being given, override $wgServer in your
LocalSettings.php to 'http://' and the correct hostname or IP address.
Comment 4 Soren 2004-09-28 09:07:11 UTC
Interestingly there is NO entry at all for the $wgServer variable in my
localsettings. I added the value with the correct address and now everything
seems to work. Thank you. Maybe we should find out, why no entry was made...
Comment 5 Brion Vibber 2004-09-28 20:37:48 UTC
Normally there's no entry as it's autodetected in DefaultSettings.php.

If Apache is mis-configured, you can end up with an incorrect value.

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


Navigation
Links