Esteemed Mediawiki people I've recently installed the latest stable distribution of Mediawiki on a Mac OS X machine, mainly in order to learn how to use it. The Mac in question is on a LAN sitting behind a NAT router on a DSL connection. I installed according to the fairly brief instructions given with the distribution, and it all went smoothly. I can see the wiki's Main Page when I point my browser to the relevant page from the local machine. Great. However, when I try to see the wiki from outside the LAN, using the public IP address all I get is an http 500 error message. My router is set up to forward all port 80 requests through to the Mac that is serving web pages, and this works perfectly for the rest of my site (which includes a WordPress installation, suggesting that Apache, MySQL and PHP are all set up and working as expected). Which leads me to conclude that the problem lies within the Mediawiki configuration. I've studied LocalSettings.php and DefaultSettings.php, and can find nothing obvious. Then again, I'm no PHP expert. I imagine this must be a reasonably common problem, but I can't find anything about it, and the mailing list archive does not lend itself to searching. Any pointers would be gratefully received. Thanks
Graham
On 02/05/05, Graham Mitchell graham.mitchell@phonecoop.coop wrote:
However, when I try to see the wiki from outside the LAN, using the public IP address all I get is an http 500 error message.
Take a look at your Apache error log - the kind of error that produces a 500 response usually records something more useful in there, in my experience.
Other than that, the thing that occurs off the top of my head is that either the wiki or the webserver (probably the former if other pages work OK) is set up to have the internal IP address as its "correct" address. I believe there is code in MediaWiki to auto-detect this - try overriding it to use the appropriate public IP.
the mailing list archive does not lend itself to searching.
You may have already tried this, but the best idea seems to be to add site:mail.wikimedia.org to a Google query.
mediawiki-l@lists.wikimedia.org