]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem add rewrite rules
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Thu, 20 Apr 2017 12:09:56 +0000 (14:09 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Thu, 20 Apr 2017 12:09:56 +0000 (14:09 +0200)
customer/sirona-aem/production.yaml

index 291d0ff2d6c8affdaa3acb37df9d5591c470be84..7fdd2aa64d20ff37b87604c1732c7064b5b53e68 100644 (file)
@@ -1052,6 +1052,10 @@ infra::profile::aem::publish::pp_vhosts:
       - comment: 'lanugage Rewrite use Env Vars'
         rewrite_rule:
           - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.profiledentalimplants.com/%%{ich-trickse}{ENV:language}.html [R=301,L]'
+          - '^/en-us.html$ %%{ich-trickse}{REQUEST_SCHEME}://www.profiledentalimplants.com/en.html [R=301,L]'
+          - '^/en-us/downloads.html$ %%{ich-trickse}{REQUEST_SCHEME}://www.profiledentalimplants.com/en/resources.html [R=301,L]'
+          - '^/en-us/testimonials.html$ %%{ich-trickse}{REQUEST_SCHEME}://www.profiledentalimplants.com/en/patient-focus.html [R=301,L]'
+          - '^/en-us/maximizeexistingbone1.html$ %%{ich-trickse}{REQUEST_SCHEME}://www.profiledentalimplants.com/en/maximize-existing-bone.html [R=301,L]'
 # Sirona www.jointheev.com - kein AEM VHost
   jointheev:
     serveraliases:
@@ -1423,10 +1427,15 @@ infra::profile::aem::publish::pp_vhosts:
         path: /var/www/html/error_custom/
         options:
           - +Includes
+#    rewrites:
+#      - comment: 'lanugage Rewrite use Env Vars'
+#        rewrite_rule:
+#          - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.plug-and-ray.com/%%{ich-trickse}{ENV:language}.html [R=301,L]'
     rewrites:
-      - comment: 'lanugage Rewrite use Env Vars'
+      - comment: 'Rewrite all from this domain to Flagship-Site'
         rewrite_rule:
-          - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.plug-and-ray.com/%%{ich-trickse}{ENV:language}.html [R=301,L]'
+          - '(.*) https://www1.dentsplysirona.com/de-de/loesungen/themen/plug-and-ray.html [R=301,L]'
+
 # Sirona corporate.dentsplysirona.com
   corporate-dentsplysirona:
     serveraliases: