[Mediawiki-l] Redirect to index.php/Main_Page invalidates url
Philipp Lies
philipp.lies at googlemail.com
Tue Feb 2 08:47:53 UTC 2010
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
More information about the MediaWiki-l
mailing list