From ebeb4ddfaebfcf383840922d43e8dcbd12e6e9c8 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Thu, 20 Apr 2017 14:09:56 +0200 Subject: [PATCH] sirona-aem add rewrite rules --- customer/sirona-aem/production.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/customer/sirona-aem/production.yaml b/customer/sirona-aem/production.yaml index 291d0ff2..7fdd2aa6 100644 --- a/customer/sirona-aem/production.yaml +++ b/customer/sirona-aem/production.yaml @@ -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: -- 2.39.5