From: Andreas Gerstenberg Date: Tue, 4 Sep 2018 10:10:08 +0000 (+0200) Subject: spk-blog vorbereitung rewrites X-Git-Tag: v0.1.0~239 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=9075784e4d5c314310fee1aef3cf064118b6d82e;p=pixelpark%2Fhiera.git spk-blog vorbereitung rewrites --- diff --git a/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml b/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml index 2f7deafd..5c03a453 100644 --- a/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml +++ b/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml @@ -96,14 +96,15 @@ infra::profile::wordpress::projects: # - comment: 'erzgebirge.sparkasseblog.de auf erz-sblog.de' # rewrite_cond: -# - '%{literal("%")}{HTTP_HOST} ^erzgebirge.sparkasseblog.de$' +# - '%{literal("%")}{HTTP_HOST} ^erzgebirge.sparkasseblog.de$ [OR]' +# - '%{literal("%")}{HTTP_HOST} ^www.erz-sblog.de$' # rewrite_rule: # - '^(.*)$ https://erz-sblog.de$1 [R=301,L]' # - comment: 'Weiterleitung auf https' # rewrite_cond: # - '%{literal("%")}{HTTP:HTTPS} !=on [NC]' -# - '%{literal("%")}{HTTP_HOST} ^erz-sblog.de$' +# - '%{literal("%")}{HTTP_HOST} ^(www\.)?erz-sblog.de$' # rewrite_rule: # - '^(.*)$ https://erz-sblog.de$1 [R=301,L]'