From: Vincent Vanwaelscappel Date: Thu, 16 Jan 2020 15:37:07 +0000 (+0100) Subject: wip #3274 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=dc360ececcd987f7e6150e388755e01edebdd4e9;p=pmi.git wip #3274 @0.5 --- diff --git a/public/.htaccess b/public/.htaccess index cc89ef4..4603c25 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -7,9 +7,12 @@ # Redirect to https if accessing from http RewriteCond %{HTTPS} off - RewriteCond %{HTTP_HOST} (pm-instrumentation.com)$ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] + RewriteCond %{HTTP_HOST} =en.michsci-europe.com [OR] + RewriteCond %{HTTP_HOST} =michsci-europe.com + RewriteRule ^(.*)$ https://staging.michsci-europe.com/$1 [R=301,L] + # Redirect all subdomains to www RewriteCond %{HTTP_HOST} =pmi.dev.cubedesigners.com [OR] RewriteCond %{HTTP_HOST} =staging.pm-instrumentation.com [OR]