From: Stefano Rivera Date: Tue, 23 Jul 2019 19:44:26 +0000 (-0300) Subject: PassThrough / to /wiki/ X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f33e5b0b7749df9e3bf60b7b816898f3d07ecc8b;p=mirror%2Fdsa-puppet.git PassThrough / to /wiki/ So that the response has a Content-Type header (via the ForceType on /wiki/). --- 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(&|$)