Trevor Sullivan wrote:
Hello all, I have a problem with MediaWiki running on
Apache 2.0 on
FreeBSD 5.2.1. Whenever I goto my server's page //server/mediawiki it
always forwards me to the server's FQDN
(server.pharag.biz/mediawiki/index.php) and will refuse to work
otherwise. This only happens with MediaWiki and I can't seem to figure
out why only MediaWiki forces the usage of the server's local FQDN. Any
ideas? I can provide further information if need be. Thank you!
The HTTP standard requires that redirects use a full URL (including
hostname). The hostname reported by your web server is used to construct
full URLs.
If your web server is misconfigured and reporting the wrong name, you
should probably fix it.
In a pinch, you can set $wgServer explicitly in LocalSettings.php
(normally it's autodetected in DefaultSettings.php).
-- brion vibber (brion @
pobox.com)