From: Andreas Gerstenberg Date: Thu, 20 Apr 2017 12:09:56 +0000 (+0200) Subject: sirona-aem add rewrite rules X-Git-Tag: v0.1.0~3111^2~14^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=ebeb4ddfaebfcf383840922d43e8dcbd12e6e9c8;p=pixelpark%2Fhiera.git sirona-aem add rewrite rules --- 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: