From dc360ececcd987f7e6150e388755e01edebdd4e9 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 16 Jan 2020 16:37:07 +0100 Subject: [PATCH] wip #3274 @0.5 --- public/.htaccess | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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] -- 2.39.5