- 'Options=MultiViews,Indexes'
addhandlers:
- { handler: "proxy:unix:/var/run/php5-fpm-nissan.sock|fcgi://./" , extensions: '.php' }
- - provider: location
- path: '/'
- auth_type: Digest
- auth_name: 'server'
- auth_digest_provider: file
- auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'
+ rewrites:
+ - comment: 'DE Rewrite nach /coming-soon'
+ rewrite_cond:
+ - '%{literal("%")}{HTTP_HOST} ^(www\.)?nissan-meinedaten.de$'
+ - '%{literal("%")}{REQUEST_URL} ^/$'
+ rewrite_rule:
+ - '^https:(.*)$ https://www.nissan-meinedaten.de/coming-soon$1 [L,R=301]'
+ - comment: 'AT Rewrite nach /coming-soon'
+ rewrite_cond:
+ - '%{literal("%")}{HTTP_HOST} ^(www\.)?nissan-meinedaten.at$'
+ - '%{literal("%")}{REQUEST_URL} ^/$'
+ rewrite_rule:
+ - '^https:(.*)$ https://www.nissan-meinedaten.at/coming-soon$1 [L,R=301]'
+ - comment: 'CH Rewrite nach /coming-soon'
+ rewrite_cond:
+ - '%{literal("%")}{HTTP_HOST} ^(www\.)?nissan-meinedaten.ch$'
+ - '%{literal("%")}{REQUEST_URL} ^/$'
+ rewrite_rule:
+ - '^https:(.*)$ https://www.nissan-meinedaten.ch/coming-soon$1 [L,R=301]'