Hi, Thank you
Am 28.05.2010 11:04, schrieb Zak Greant (Foo Associates): > On Thu, May 27, 2010 at 13:43, Lukas Haase<[email protected]> 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 Yes it is. Proxy I would like to avoid because of overhead but I tried with mod_rewrite. I try with nonexistant URLs first so that I can see the 404 warning: RewriteEngine On RewriteRule ^/$ /nonexistant is ignored. This matches: RewriteEngine On RewriteRule ^$ /nonexistant I get a 404 not found error. So I tried RewriteRule ^$ /index.php/Main_Page instead. But I again get redirected to http://www.example.com/index.php/Main_Page :-( :-( One more idea? Thank you very much. Luke _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
