setenvif_ssl:
- 'HTTPS on HTTPS=on'
rewrites:
-# - comment: 'http to https'
-# rewrite_cond:
-# - '%%{ich-trickse}{HTTPS} !=on'
-# rewrite_rule:
-# - '(.*) https://stage-spar-checker-de.pixelpark.net%%{ich-trickse}{REQUEST_URI} [R=301,L]'
+ - comment: 'http to https'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTPS} !=on'
+ rewrite_rule:
+ - '^(.*)$ https://stage-spar-checker-de.pixelpark.net$1 [R=301,L]'
- comment: 'Alle Aliase auf Servername'
rewrite_cond:
- '%%{ich-trickse}{HTTP_HOST} !^stage-spar-checker-de.pixelpark.net$ [NC]'