From b1109974918f9d505e6452caeff333e5db310143 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 13 Jun 2019 17:15:22 +0200 Subject: [PATCH] fix #2832 @1 --- public/.htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index b75525b..5ca1963 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -5,6 +5,12 @@ RewriteEngine On + RewriteCond %{HTTPS} off + RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] + + RewriteCond %{HTTP_HOST} =pmi.dev.cubedesigners.com + RewriteRule ^(.*)$ https://staging.pm-instrumentation.com/$1 [R=301,L] + # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] -- 2.39.5