serveraliases:
- stage-web01-spar-checker-de.pixelpark.net
- stage-web02-spar-checker-de.pixelpark.net
+ - spar-checker.stage.sparkassen-finanzportal.de
+ - www.spar-checker.stage.sparkassen-finanzportal.de
ssl: false
- docroot_owner: apache
+ docroot_owner: deploy.spk
docroot_group: apache
docroot_mode: '0775'
directories:
auth_digest_algorithm: MD5
auth_user_file: '/etc/httpd/htdigest'
auth_require: 'valid-user'
+ 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]'
+