From f33e5b0b7749df9e3bf60b7b816898f3d07ecc8b Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 23 Jul 2019 16:44:26 -0300 Subject: [PATCH] PassThrough / to /wiki/ So that the response has a Content-Type header (via the ForceType on /wiki/). --- .../templates/static-mirroring/vhost/static-vhosts-simple.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index bbf12bf83..571556e9f 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -165,7 +165,7 @@ 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(&|$) -- 2.20.1