On Jan 15, 2005, at 2:44 AM, christopher@baus.net wrote:
Media Wiki incorrectly determines the IP, port, and protocol when running through a reverse proxy. It assumes that the host address is the internet facing address. When using a reverse proxy this is not the case.
If you are not running on the canonical host, set $wgServer explicitly in your configuration. This is well documented in the list archives here, and it's one of the earliest options in DefaultSettings.php where you should see it pretty quickly when you go to look up the options.
I finally found it by looking through the DefaultSettings.php file
which is supposed > to be a black box. So much for the quick and easy setup.
DefaultSettings.php is most assuredly not "supposed to be a black box". It is *the* canonical reference for all options you can set in LocalSettings.php, and is liberally commented for that purpose.
-- brion vibber (brion @ pobox.com)