setenvifnocase:
- 'Accept-Language ^.*$ language=global'
- 'Accept-Language ^de language=de-de'
- - 'Accept-Language ^en language=en-us'
+ - 'Accept-Language ^en language=en-en'
+ - 'Accept-Language ^en-us language=en-us'
- 'Accept-Language ^zh language=zh-cn'
- 'Accept-Language ^in language=en-in'
headers:
rewrite_cond:
- '%%{ich-trickse}{ENV:language} de-de'
rewrite_rule:
- - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://stagingspotlight.dentsplysirona.com/germany/de-de.html [R=301,L]'
+ - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://stagingspotlight.dentsplysirona.com/deutschland/de-de.html [R=301,L]'
+ - comment: 'lanugage Rewrite en-en'
+ rewrite_cond:
+ - '%%{ich-trickse}{ENV:language} en-en'
+ rewrite_rule:
+ - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://stagingspotlight.dentsplysirona.com/global/en.html [R=301,L]'
- comment: 'lanugage Rewrite en-us'
rewrite_cond:
- '%%{ich-trickse}{ENV:language} en-us'