Thread:Manual talk:Short URL/Short URL without the "wiki" in the URL.

Hello, I have been trying to change the URL of my site to a short URL. I managed to get http://mysite/wiki/main_page but I wanted to shorten it further by getting rid of "wiki" to get this: http://mysite/main_page

I have modified the .htaccess file like this:

RewriteEngine On

RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/index.php [L]

RewriteRule ^/*$ %{DOCUMENT_ROOT}/index.php [L]

LocalSettings.php to have:

$wgScriptPath = "";

$wgScriptExtension = ".php";

$wgArticlePath = "/$1

But I am getting "500 Internal Server Error". What could be the problem? Thanks.