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