[Mediawiki-l] No main page redirection with MediaWiki
Zak Greant (Foo Associates)
zak at fooassociates.com
Fri May 28 09:04:39 UTC 2010
On Thu, May 27, 2010 at 13:43, Lukas Haase <lukashaase at gmx.at> wrote:
> Hi,
>
> I have installed MediaWiki on the root of the webspace on
> http://www.example.com.
>
> Now, when I visit http://www.example.com I am automatically redirected
> to http://www.example.com/index.php/Main_Page
>
> Can I configure MediaWiki such that the main page stays at just
> http://www.example.com ??
Assuming that Apache is your web server, you can use mod_rewrite or
the ProxyPass directive to map http://www.example.com to
http://www.example.com/index.php/Main_Page
ProxyPass will be easiest to configure and should just require something like:
ProxyPass / http://www.example.com/index.php/Main_Page
Docs live at http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
Note: I've not tested and it's 2am here. You've been warned. :)
Cheers!
--zak
More information about the MediaWiki-l
mailing list