From: Philipp Dallig Date: Wed, 24 May 2017 09:01:31 +0000 (+0200) Subject: sirona-aem - Forwardings for my.CEREC SW page SIRONAMAIN-1113 X-Git-Tag: v0.1.0~2933 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=dca4eb117addecf04cd96cb81e19596b86826e95;p=pixelpark%2Fhiera.git sirona-aem - Forwardings for my.CEREC SW page SIRONAMAIN-1113 --- diff --git a/customer/sirona-aem/production.yaml b/customer/sirona-aem/production.yaml index 0272f966..1fc902e0 100644 --- a/customer/sirona-aem/production.yaml +++ b/customer/sirona-aem/production.yaml @@ -1020,6 +1020,7 @@ infra::profile::aem::publish::pp_vhosts: - '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' headers: - 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin' aliases: @@ -1056,6 +1057,10 @@ infra::profile::aem::publish::pp_vhosts: - '^/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-1113' + rewrite_rule: + - '^/CEREC-SW$ %%{ich-trickse}{REQUEST_SCHEME}://my.cerec.com/%%{ich-trickse}{ENV:language}/cerec-sw.html.html [R=301,L]' + - '^/cerec-sw$ %%{ich-trickse}{REQUEST_SCHEME}://my.cerec.com/%%{ich-trickse}{ENV:language}/cerec-sw.html.html [R=301,L]' # Sirona info.my-inlab.com info-my-inlab-com: serveraliases: