directories:
setenvif:
- "HTTPS on HTTPS=on"
- headers_ssl:
- - always set Strict-Transport-Security "max-age=31556926"
+ headers:
+ - always set Strict-Transport-Security "max-age=31556926" env=HTTPS
rewrites:
-# - comment: 'Weiterleitung auf https'
-# rewrite_cond:
-# - '%%{ich-trickse}{HTTPS} !=on [NC]'
-# - '%{literal("%")}{HTTP_HOST} ^(www\.)?sparkasseblog.de'
-# rewrite_rule:
-# - '^(.*)$ https://sparkasseblog.de$1 [R=301,L]'
+ - comment: 'Weiterleitung auf https'
+ rewrite_cond:
+ - '%{literal("%")}{HTTPS} !=on [NC]'
+ - '%{literal("%")}{HTTP_HOST} ^(www\.)?sparkasseblog.de'
+ rewrite_rule:
+ - '^(.*)$ https://sparkasseblog.de$1 [R=301,L]'
- comment: 'westmuensterland-intern.sparkasseblog.de'
rewrite_cond:
- '%{literal("%")}{HTTP_HOST} westmuensterland-intern.sparkasseblog.de'