Hello,
I've been trying to set up a Short URL for my MediaWiki install. I am using the latest version of everything that is available to me; I am doing this on a private debian server so i have root access, etc. The Redwerks configuration generator has given me the following code:
RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
RewriteRule ^/?$ %{DOCUMENT_ROOT}/w/index.php [L]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^/?w/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/w/thumb.php?f=$1&width=$2 [L,QSA,B]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^/?w/images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/w/thumb.php?f=$1&width=$2&archived=1 [L,QSA,B]
as well as
$wgScriptPath = "/w";
$wgScriptExtension = ".php";
$wgArticlePath = "/wiki/$1";
and
$wgEnableUploads = true;
$wgGenerateThumbnailOnParse = false;
As you can see, i am performing a fairly standard version of this process with my wiki installed at /w/ and intending to use /wiki/Page_name styled links. The root of my web server is /var/www/html. The RewriteRule stuff has been put in 000-default.conf inside /etc/apache2/sites-available.
All of this config should be correct as far as I know.
I then went into my apache2.conf and changed AllowOverride on all three blocks I could find there. I started out by only changing it for the third one (/var/www) but that did not work. Unfortunately, having all three changed to AllowOverride All did not fix my problem. (screenshot: http://g2f.nl/07vvtxd.png)
With all of the above, if all of the troubleshooting threads I have read are to be believed, it should work. However, it does not. I am completely stumped here, and could use some third party input. It would be much appreciated!