allow_override:
- FileInfo
- 'Options=MultiViews,Indexes,FollowSymLinks'
+ rewrites:
+ - comment: 'http to https'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTPS} !=on'
+ rewrite_rule:
+ - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
generationenvertrag:
servername: www-generationsvertrag-de.pixelpark.net
serveraliases:
allow_override:
- FileInfo
- 'Options=MultiViews,Indexes,FollowSymLinks'
+ rewrites:
+ - comment: 'SERVICEDESK-2114'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?xn--verlsslicher-generationenvertrag-oyc\.de$'
+ rewrite_rule:
+ - '^(.*)$ https://www.verlaesslicher-generationenvertrag.de [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]'