From de8ae66bea23169cc808cf54b55cd0cdde75344c Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Wed, 17 May 2017 13:29:44 +0200 Subject: [PATCH] bmas-typo3 add rewrite_rule --- customer/bmas-typo3/production.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/customer/bmas-typo3/production.yaml b/customer/bmas-typo3/production.yaml index ac2deca1..7afafaeb 100644 --- a/customer/bmas-typo3/production.yaml +++ b/customer/bmas-typo3/production.yaml @@ -194,6 +194,12 @@ infra::profile::typo3::projects: - '%%{ich-trickse}{HTTP_HOST} !^www-arbeitenviernull-de\.pixelpark\.net$ [NC]' rewrite_rule: - '^(.*)$ http://www.arbeitenviernull.de$1 [L,R=301]' + - comment: 'Rewrite BMASUWM-317' + rewrite_cond: + - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?arbeitenviernull\.de$' + rewrite_rule: + - '^/mitmachen/foerderprogramm.html$ http://www.unternehmens-wert-mensch.de/das-programm/unsere-erstberatungsstellen [R=301,L]' + cert_servername: 'www.arbeitenviernull.de' cert_customer: 'bmas' ssl_cert: '/etc/pki/tls/certs/www.arbeitenviernull.de-cert.pem' -- 2.39.5