$wgScript = "$wgScriptPath/index.php";
$wgArticlePath = "$wgScriptPath/$1";
RewriteEngine on
RewriteBase /gloranthajp/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?title=$1 [L,QSA]