- 'Origin "http(s)?://(www\.)?(sirona-cerec-test.azurewebsites.net|sirona-cerec-stage.azurewebsites.net|cerec.com|sirona-cerec-de.local:3000)$" AccessControlAllowOrigin=$0$1'
setenvifnocase:
- 'Accept-Language ^.*$ language=de-de'
- - 'Accept-Language ^en language=en-gb'
+ - 'Accept-Language ^en language=en'
headers:
- 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin'
aliases:
- '^/de-de/service/abrechnung.html http://my.cerec.com/de-de/abrechnung.html [R=301,L]'
- '^/de-de/service/cerec-club.html http://my.cerec.com/de-de/cerec-club.html [R=301,L]'
- '^/de-de/service.html http://my.cerec.com/de-de.html [R=301,L]'
+ - comment: 'SIRONAMAIN-1126 Move en-gb to en'
+ rewrite_rule:
+ - '^/en-gb/(.*)$ %%{ich-trickse}{REQUEST_SCHEME}://my.cerec.com/en/$1 [R=301,L]'
- comment: 'SIRONAMAIN-1113'
rewrite_rule:
- '^/CEREC-SW$ %%{ich-trickse}{REQUEST_SCHEME}://my.cerec.com/%%{ich-trickse}{ENV:language}/cerec-sw.html [R=301,L]'