From: Andreas Gerstenberg <gerstenberg@pixelpark.com>
Date: Wed, 17 May 2017 11:29:44 +0000 (+0200)
Subject: bmas-typo3 add rewrite_rule
X-Git-Tag: v0.1.0~2983^2~1
X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=de8ae66bea23169cc808cf54b55cd0cdde75344c;p=pixelpark%2Fhiera.git

bmas-typo3 add rewrite_rule
---

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'