]> _ Git - pmi.git/commitdiff
wip #3274 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Jan 2020 15:37:07 +0000 (16:37 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Jan 2020 15:37:07 +0000 (16:37 +0100)
public/.htaccess

index cc89ef44967fb208bf01696c698406ec8e4665fc..4603c25a21d43898468f52de3686006d501a4109 100644 (file)
@@ -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]