From 53d93db75254dccf20eaaba3bab39a9305f040d6 Mon Sep 17 00:00:00 2001
From: Philipp Dallig <philipp.dallig@pixelpark.com>
Date: Tue, 5 Sep 2017 15:11:04 +0200
Subject: [PATCH] sirona-aem - Anpassung der Rewrites SIRONAMAIN-1172

---
 customer/sirona-aem/production.yaml | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/customer/sirona-aem/production.yaml b/customer/sirona-aem/production.yaml
index f7092f1b..a06a230c 100644
--- a/customer/sirona-aem/production.yaml
+++ b/customer/sirona-aem/production.yaml
@@ -1089,7 +1089,7 @@ infra::profile::aem::publish::pp_vhosts:
           - '^/de-de/vorteile.html$ https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender/vorteile.html [R=301,L]'
           - '^/de-de/information.html$ https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender/information.html [R=301,L]'
           - '^/de-de/produkte.html$ https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender/produkte.html [R=301,L]'
-          - '(.*) https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender.html [R=301,L]'
+          - '^(.*)$ https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender.html [R=301,L]'
 # Sirona www.see-more-with-sirona.com - kein AEM-vHost
   see-more-with-sirona:
     serveraliases:
@@ -1150,8 +1150,7 @@ infra::profile::aem::publish::pp_vhosts:
           - '^/en-us/security.html$ https://www1.dentsplysirona.com/en/solutions/topics/be-safe-see-more/security.html [R=301,L]'
           - '^/en-us/security/dosage.html$ https://www1.dentsplysirona.com/en/solutions/topics/be-safe-see-more/security/dosage.html [R=301,L]'
           - '^/en-us/cases.html$ https://www1.dentsplysirona.com/en/solutions/topics/be-safe-see-more/cases.html [R=301,L]'
-          - '(.*) https://www1.dentsplysirona.com/de-de/loesungen/themen/mit-sicherheit-mehr-sehen.html [R=301,L]'
-
+          - '^(.*)$ https://www1.dentsplysirona.com/de-de/loesungen/themen/mit-sicherheit-mehr-sehen.html [R=301,L]'
 # Sirona www.cerec-com - kein AEM-vHost
   cerec-com:
     serveraliases:
@@ -1192,7 +1191,7 @@ infra::profile::aem::publish::pp_vhosts:
           - '^/de/form/cerec-marketing-package-patientenorientierung$ https://www1.dentsplysirona.com/de-de/loesungen/themen/single-visit-dentistry-mit-cerec.html [R=301,L]'
           - '^/de/form/cerec-investitionsplanung-wirtschaftlichkeit$ https://www1.dentsplysirona.com/de-de/loesungen/themen/single-visit-dentistry-mit-cerec/formular/cerec-investitionsplanung-wirtschaftlichkeit.html [R=301,L]'
           - '^/de/download/praxismarketing-mit-cerec$ https://www1.dentsplysirona.com/de-de/loesungen/themen/single-visit-dentistry-mit-cerec/download/praxismarketing-mit-cerec.html [R=301,L]'
-          - '(.*) https://www1.dentsplysirona.com/de-de/loesungen/themen/single-visit-dentistry-mit-cerec.html [R=301,L]'
+          - '^(.*)$ https://www1.dentsplysirona.com/de-de/loesungen/themen/single-visit-dentistry-mit-cerec.html [R=301,L]'
 # Sirona www.roentgen-hausbesuch.de - kein AEM-vHost
   roentgen-hausbesuch:
     serveraliases:
@@ -1206,28 +1205,37 @@ infra::profile::aem::publish::pp_vhosts:
           - '^/matschiowalli https://lp.dentsplysirona.com/de-de/roentgen-hausbesuch-matschiowalli.html [R=301,L]'
           - '^/becker https://lp.dentsplysirona.com/de-de/roentgen-hausbesuch-becker.html [R=301,L]'
           - '^/seischab https://lp.dentsplysirona.com/de-de/roentgen-hausbesuch-seischab.html [R=301,L]'
-          - '(.*) https://lp.dentsplysirona.com/de-de/roentgen-hausbesuch-bachler.html [R=301,L]'
+          - '^(.*)$ https://lp.dentsplysirona.com/de-de/roentgen-hausbesuch-bachler.html [R=301,L]'
 # Sirona www.see-more-with-dcs.com - kein AEM VHost
   see-more-with-dcs:
     serveraliases:
       - www.see-more-with-dcs.com
       - see-more-with-dcs.com
     ssl: false
-    redirect_dest: 'https://www1.dentsplysirona.com/de-de/loesungen/themen/mit-sicherheit-mehr-sehen/2d-roentgen/direct-conversion-sensor.html'
+    rewrites:
+      - comment: 'Redirect to other page without URL Path'
+        rewrite_rule:
+          - '^(.*)$ https://www1.dentsplysirona.com/de-de/loesungen/themen/mit-sicherheit-mehr-sehen/2d-roentgen/direct-conversion-sensor.html [R=301,L]'
 # Sirona www.der-zahntechniker-kongress.de - kein AEM VHost
   der-zahntechniker-kongress:
     serveraliases:
       - www.der-zahntechniker-kongress.de
       - der-zahntechniker-kongress.de
     ssl: false
-    redirect_dest: 'https://lp.dentsplysirona.com/de-de/zahntechniker-kongress-2018.html'
+    rewrites:
+      - comment: 'Redirect to other page without URL Path'
+        rewrite_rule:
+          - '^(.*)$ https://lp.dentsplysirona.com/de-de/zahntechniker-kongress-2018.html [R=301,L]'
 # Sirona www.inlabevents.com - kein AEM VHost
   inlabevents:
     serveraliases:
       - www.inlabevents.com
       - inlabevents.com
     ssl: false
-    redirect_dest: 'https://www1.dentsplysirona.com/en-us/solutions/dental-technicians/education-and-training.html'
+    rewrites:
+      - comment: 'Redirect to other page without URL Path'
+        rewrite_rule:
+          - '^(.*)$ https://www1.dentsplysirona.com/en-us/solutions/dental-technicians/education-and-training.html [R=301,L]'
 # Sirona www.inlab.com - kein AEM VHost
   inlab:
     serveraliases:
-- 
2.39.5