From d7990dcc9a963a6e001081d5795bf25c9a43f264 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Thu, 6 Apr 2017 10:33:16 +0200 Subject: [PATCH] ODT - fix rewrites --- customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml index f2fdf9c3..71fea58c 100644 --- a/customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml @@ -101,7 +101,7 @@ infra::profile::apache::pp_vhosts: - https_forms: rewrite_cond: - '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]' - - '%%{ich-trickse}{REQUEST_URI} ^/(r|w|anmeldung|forms_retail|forms_wholesale)(/)? [NC]' + - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]' rewrite_rule: - '^(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L,QSA,NE]' - 404handler_non_https: @@ -217,7 +217,7 @@ infra::profile::apache::pp_vhosts: - https_forms: rewrite_cond: - '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]' - - '%%{ich-trickse}{REQUEST_URI} ^/(r|w|anmeldung|forms_retail|forms_wholesale)(/)? [NC]' + - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]' rewrite_rule: - '^(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L,QSA,NE]' - 404handler_non_https: @@ -323,7 +323,7 @@ infra::profile::apache::pp_vhosts: - https_forms: rewrite_cond: - '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]' - - '%%{ich-trickse}{REQUEST_URI} ^/(r|w|anmeldung|forms_retail|forms_wholesale)(/)? [NC]' + - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]' rewrite_rule: - '^(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L,QSA,NE]' - 404handler_non_https: -- 2.39.5