setenvifnocase:
- 'Accept-Language ^.*$ language=global'
- 'Accept-Language ^de language=de-de'
- - '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'
+ - 'Accept-Language ^fr language=fr-fr'
+ - 'Accept-Language ^en-us language=en-us'
headers:
- 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin'
aliases:
rewrite_cond:
- '%%{ich-trickse}{ENV:language} de-de'
rewrite_rule:
- - '^/$ %%{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]'
+ - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://stagingspotlight.dentsplysirona.com/germany/de-de.html [R=301,L]'
- comment: 'lanugage Rewrite en-us'
rewrite_cond:
- '%%{ich-trickse}{ENV:language} en-us'
- '%%{ich-trickse}{ENV:language} en-in'
rewrite_rule:
- '^/$ %%{ich-trickse}{REQUEST_SCHEME}://stagingspotlight.dentsplysirona.com/india/en-in.html [R=301,L]'
- - comment: 'lanugage Rewrite other'
+ - comment: 'lanugage Rewrite fr-fr'
+ rewrite_cond:
+ - '%%{ich-trickse}{ENV:language} fr-fr'
+ rewrite_rule:
+ - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://stagingspotlight.dentsplysirona.com/global/fr.html [R=301,L]'
+ - comment: 'lanugage Rewrite gobal'
rewrite_cond:
- '%%{ich-trickse}{ENV:language} global'
rewrite_rule: