Mark Clements schreef:
I have been using apache rewriting in my .htaccess file in order to use pretty URLs, e.g. www.mydomain.com/wiki/Page
The solution to pretty much all your problems is to use aliases rather than mod_rewrite. This is only possible, however, if the installation script said it could use pretty URLs. If you don't remember, try to go to /w/index.php/Pagename and see if that works. If it doesn't, the solution that follows won't work for you. The following example assumes your index.php and friends are in /w and you want your pretty URLs to look like /wiki/Pagename
Put the following in your .htaccess or Apache config:
Alias /wiki /w/index.php
Then add the following line to LocalSettings.php:
$wgArticlePath = "/wiki/$1";
I am using Apache 1.3.37 and MW 1.6.10
Those are hopelessly outdated. I've tested the Alias method on Apache 2.2, dunno if it works for earlier versions. The latest MW version is 1.11, although it only works with PHP 5.
Roan Kattouw (Catrope)