Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

slightly

macrumors regular
Original poster
Mar 14, 2003
110
0
Beacon, NY
Hi

I'm trying to set up a MediaWiki site on my local G5, and while everything looks fine when testing the site locally, it doesn't load externally.

Here's the problem: when someone on the outside tries to load the site, the URL they've entered

http://24.193.152.184/wiki

changes to a "local" address:

http://monkfish.local/wiki

which obviously will no longer work from the outside.

MediaWiki works using PHP (and a MySQL database) - there is an index.php file in the wiki folder, which in turn loads some other PHP files. I haven't been able to find any information on this problem at the MediaWiki site or through Google. I have the default MediaWiki settings.

I have PHP enabled in my httpd.conf file. The permissions are all good.

A simple PHP script works just fine:

http://24.193.152.184/wiki/test.php

If anyone has any experience with MediaWiki or this kind of problem, I'd be grateful for any advice.

Many thanks

Matt
 
Sounds like you need to change a config file for your application. Researching right now.

EDIT: Yeppers, looks like you need to change your LocalSettings.php file in the root of the application directory. Based on the code, you might be able to regenerate it simply by deleting that file or renaming it to something like LocalSettings.php.bak

Thats all the work I am going to do for you...Good luck.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.