David Gerard wrote:
Brion Vibber wrote:
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.
I got around this on FreeBSD 5.3 by putting the short name in /etc/hosts .
- d.
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On the client machine you mean? Well yes, I did get around that by doing the similar on my windows box under c:\windows\system32\drivers\etc\hosts but that is really not preferred. I'm in this for the learning experience and would like to solve the problem that the server is having so I could implement this in a production environment if need be (may end up doing just that). Thanks for the help though! Any other ideas?? I'm racking my brain trying to figure this out, rather frusturating
-Trevor