PassThrough / to /wiki/
authorStefano Rivera <stefanor@debian.org>
Tue, 23 Jul 2019 19:44:26 +0000 (16:44 -0300)
committerStefano Rivera <stefanor@debian.org>
Tue, 23 Jul 2019 19:44:27 +0000 (16:44 -0300)
So that the response has a Content-Type header (via the ForceType on
/wiki/).

modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index bbf12bf..571556e 100644 (file)
        </Location>
 
        RewriteEngine on
-       RewriteRule ^/$ /wiki/Main_Page [L]
+       RewriteRule ^/$ /wiki/Main_Page [L,P]
        RewriteRule ^/wiki/$ /wiki/Main_Page [L]
 
        RewriteCond %{QUERY_STRING} (^|&)modules=mediawiki.legacy.commonPrint,shared|skins.monobook(&|$)