rewrite_cond:
- '%{literal("%")}{HTTPS} !=on'
rewrite_rule:
- - ^(.*)$ https://%{literal("%")}{HTTP_HOST}$1 [R=301,L]
- - comment: 'DE Rewrite nach /coming-soon'
- rewrite_cond:
- - '%{literal("%")}{HTTP_HOST} ^(www\.)?nissan-meinedaten.de$'
- - '%{literal("%")}{REQUEST_URI} ^/$'
- rewrite_rule:
- - '^(.*)$ https://www.nissan-meinedaten.de/soon [L,R=302]'
- - comment: 'AT Rewrite nach /coming-soon'
- rewrite_cond:
- - '%{literal("%")}{HTTP_HOST} ^(www\.)?nissan-meinedaten.at$'
- - '%{literal("%")}{REQUEST_URI} ^/$'
+ - ^(.*)$ https://%{literal("%")}{HTTP_HOST}$1 [R=302,L]
+ - comment: 'Rewrite / to soon'
rewrite_rule:
- - '^(.*)$ https://www.nissan-meinedaten.at/soon [L,R=302]'
- - comment: 'CH Rewrite nach /coming-soon'
- rewrite_cond:
- - '%{literal("%")}{HTTP_HOST} ^(www\.)?nissan-meinedaten.ch$'
- - '%{literal("%")}{REQUEST_URI} ^/$'
+ - '^/$ https://%{literal("%")}{HTTP_HOST}/soon [R=302,L]'
+ - comment: 'Rewrite / to soon'
rewrite_rule:
- - '^(.*)$ https://www.nissan-meinedaten.ch/soon [L,R=302]'
+ - '^/legal$ https://%{literal("%")}{HTTP_HOST}/soon [R=302,L]'