From 27bd0037284c67482b92f847ebcb6382a0e4b324 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Wed, 29 Mar 2017 16:41:53 +0200 Subject: [PATCH] MHK - www-kueche-de -> kueche.de --- customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml | 8 ++++---- customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml | 2 +- customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml b/customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml index 982f9afe..96f370f3 100644 --- a/customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml +++ b/customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml @@ -71,10 +71,10 @@ site::profile::apache::pp_vhosts: auth_require: 'valid-user' rewrites: - nonwww: - rewrite_cond: - - '%%{ich-trickse}{HTTP_HOST} !^kueche.de$ [NC]' - rewrite_rule: - - '^(.*)$ http://kueche.de$1 [R=301,L]' + rewrite_cond: + - '%%{ich-trickse}{HTTP_HOST} ^(.*).kueche.de$ [NC]' + rewrite_rule: + - '^(.*)$ http://kueche.de$1 [R=301,L]' - to_ssl: comment: 'all to https' rewrite_cond: diff --git a/customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml b/customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml index ac2158f9..5623d052 100644 --- a/customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml +++ b/customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml @@ -63,7 +63,7 @@ site::profile::apache::pp_vhosts: rewrites: - nonwww: rewrite_cond: - - '%%{ich-trickse}{HTTP_HOST} !^kueche.de$ [NC]' + - '%%{ich-trickse}{HTTP_HOST} ^(.*).kueche.de$ [NC]' rewrite_rule: - '^(.*)$ http://kueche.de$1 [R=301,L]' - to_ssl: diff --git a/customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml b/customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml index e72774d1..f5d5a77c 100644 --- a/customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml +++ b/customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml @@ -63,7 +63,7 @@ site::profile::apache::pp_vhosts: rewrites: - nonwww: rewrite_cond: - - '%%{ich-trickse}{HTTP_HOST} !^kueche.de$ [NC]' + - '%%{ich-trickse}{HTTP_HOST} ^(.*).kueche.de$ [NC]' rewrite_rule: - '^(.*)$ http://kueche.de$1 [R=301,L]' - to_ssl: -- 2.39.5