Philipp Lies wrote:
Hi,
I have a problem with MediaWiki 1.15. Mediawiki is installed on server A which is an apache2 server. Accessing MediaWiki via: http://A/mediawiki works, the url is correctly redirected to http://A/mediawiki/index.php/Main_Page
Now here is the problem. Server A is externally accessible via http://www.somedomain.com/somefolder/
Now when I try to access the wiki from the outside world via http://www.somedomain.com/somefolder/mediawiki/ I also get redirected to http://internal-ip-of-server-A/mediawiki/index.php/Main_Page
which will obviously not work. Accessing the page directly via http://www.somedomain.com/somefolder/mediawiki/index.php/Main_Page
loads the page but without the style, so just vanilla html style.
Is there some way to tell MediaWiki to check which url was used and that it should use this as base url?
Cheers
Philipp
On LocalSettings.php you will have to $wgScriptPath (maybe also others that depend on it).