mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
mediawiki: Enable short URLs
Fixes #1274 Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user