From 9a4004a1660873abe1844b235f199379d959301f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 28 Feb 2017 18:50:35 +0100 Subject: [PATCH] .htaccess update --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.htaccess b/.htaccess index 8487ca52..90ec48c0 100755 --- a/.htaccess +++ b/.htaccess @@ -5,6 +5,9 @@ RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%1/$1 [L] +RewriteCond %{HTTP_HOST} ^(.*\.)?zoff\.no$ +RewriteRule ^/(.*)$ http://%zoff.me/$1 [L,NC,QSA] + RewriteCond %{HTTP_HOST} ^(.*zoff.me.*)$ RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [L]