From: Vincent Vanwaelscappel Date: Thu, 13 Jun 2019 15:15:22 +0000 (+0200) Subject: fix #2832 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b1109974918f9d505e6452caeff333e5db310143;p=pmi.git fix #2832 @1 --- 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}]