Mediawiki Tips
using very short URLs
a good page to start: http://meta.wikimedia.org/wiki/Using_a_very_short_URL; configuration below tested with Apache 2.0.x on Debian Sarge and Mediwiki 1.6.x.
/etc/apache/sites/site.conf
<Virtualhost IP>
.....
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(stylesheets|images|skins|data)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteRule ^/(.*)$ /index.php/$1 [L,QSA]
</Virtualhost IP>
LocalSettings.php
$wgScriptPath = ""; $wgScript = "$wgScriptPath/index.php"; $wgRedirectScript = "$wgScriptPath/redirect.php"; $wgArticlePath = "/$1";

