mediawiki: Enable short URLs

Fixes #1274

Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
Jayasuganthi authored and Joseph Nuthalapati committed 2018-07-23 17:34:36 +05:30
1 parent 644e9f8e93
commit 6fe172acc8
3 files changed
+24 -1

No files matched your search

@@ -0,0 +1,9 @@
<Directory /var/lib/mediawiki/>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/index.php/(.*)$ /$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]
</IfModule>
</Directory>