From 422952b52b3e4c3c6f8f87f45c0972b777736e08 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Tue, 20 Feb 2018 13:32:54 +0100 Subject: [PATCH] sirona-aem Update Rewrites SIRONAMAIN-1202 --- customer/sirona-aem/production.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/customer/sirona-aem/production.yaml b/customer/sirona-aem/production.yaml index fd3d3b0f..2023acf4 100644 --- a/customer/sirona-aem/production.yaml +++ b/customer/sirona-aem/production.yaml @@ -276,6 +276,11 @@ infra::profile::aem::publish::pp_vhosts: - { error_code: 404 , document: "/en-us/error-pages/404.html" } - { error_code: 500 , document: "/en-us/error-pages/500.html" } rewrites: + - comment: 'SIRONAMAIN-1202 (20.02.2018)' + rewrite_cond: + - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?sirona.clinic$' + rewrite_rule: + - '^(/?)$ https://www1.dentsplysirona.com/en/solutions/universities-and-large-clinics.html [R=301,L]' - comment: 'rediret to www' rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} !^www\. [NC]' @@ -343,7 +348,6 @@ infra::profile::aem::publish::pp_vhosts: rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?sirona.clinic$' rewrite_rule: - - '^/$ https://www1.dentsplysirona.com/en/solutions/universities-and-large-clinics.html [R=301,L]' - '^/es-es.html$ https://www.dentsplysirona.com/es-ib/soluciones/para-universidades-clinicas-grandes.html [R=301,L]' - '^/es-es/asesoria.html$ https://www.dentsplysirona.com/es-ib/soluciones/para-universidades-clinicas-grandes/asesoria.html [R=301,L]' - '^/es-es/planeacion.html$ https://www.dentsplysirona.com/es-ib/soluciones/para-universidades-clinicas-grandes/planificacion.html [R=301,L]' @@ -649,7 +653,7 @@ infra::profile::aem::publish::pp_vhosts: rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?ledviewplus.com$' rewrite_rule: - - '^/es-es.html$ https://www.dentsplysirona.com/es-ib/productos/unidades-de-tratamiento/ledview-plus.html [R=301,L]' + - '^/es-es.html$ https://www.dentsplysirona.com/es-ib/productos/unidades-de-tratamiento/luces-para-tratamientos/ledview-plus.html [R=301,L]' - comment: 'rediret to www' rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} !^www\. [NC]' -- 2.39.5