I'm trying to get mediawiki to work. At the moment, mod_rewrite is off on the servers I am using since PHP is compiled as CGI rather than an Apache module, which means that I am using .htaccess instead, since I don't want /index.php?title=Main_Page... I'd rather have /Main_Page instead. (and breathe...)
According to the mediawiki help page I can use the following in a .htaccess, if I have the wiki in a folder entitled wiki.
# first, enable the processing - Unless your ISP has it enabled
# already. That might cause weird errors.
RewriteEngine on
# Rewrite wiki?xxx as wiki/index.php?xxx and stop
RewriteRule ^wiki$ wiki/index.php [L]
# Don't rewrite requests for files in MediaWiki subdirectories,
# MediaWiki PHP files, HTTP error documents, favicon.ico, or robots.txt
RewriteCond %{REQUEST_URI} !^/wiki/(stylesheets|images|skins)/
RewriteCond %{REQUEST_URI} !^/wiki/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt
# Rewrite any article as wiki/index.php/article and stop
RewriteRule ^(.*)$ wiki/index.php/$1 [L,QSA]
However, I'd like to have it in the root folder of the domain, rather than in the wiki folder.
Can anyone help?