From: Oliver Böttcher <oliver.boettcher@pixelpark.com>
Date: Mon, 16 Oct 2017 12:04:14 +0000 (+0200)
Subject: BMWI-GWO: maintenance page
X-Git-Tag: v0.1.0~2318
X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=e692c20489f7b43de2eccf9b0b09b9519c8d0a74;p=pixelpark%2Fhiera.git

BMWI-GWO: maintenance page
---

diff --git a/customer/bmwi-gruenderwoche/production.yaml b/customer/bmwi-gruenderwoche/production.yaml
index 53ba6822..8b48744c 100644
--- a/customer/bmwi-gruenderwoche/production.yaml
+++ b/customer/bmwi-gruenderwoche/production.yaml
@@ -199,9 +199,5 @@ infra::profile::apache::vhosts:
           - FollowSymLinks
         allow_override:
           - None
-    rewrites:
-      - comment: "404 to index.html"
-        rewrite_cond:
-          - "%%{ich-trickse}{REQUEST_FILENAME} !-f"
-        rewrite_rule:
-          - "^(.*)$ / [L,R=301]"
+    error_documents:
+      - { error_code: 404 , document: "/index.html" }
diff --git a/customer/bmwi-gruenderwoche/test.yaml b/customer/bmwi-gruenderwoche/test.yaml
index ad03aa32..691f054d 100644
--- a/customer/bmwi-gruenderwoche/test.yaml
+++ b/customer/bmwi-gruenderwoche/test.yaml
@@ -78,10 +78,5 @@ infra::profile::apache::vhosts:
           - FollowSymLinks
         allow_override:
           - None
-    rewrites:
-      - comment: "404 to index.html"
-        rewrite_cond: 
-          - "%%{ich-trickse}{REQUEST_FILENAME} !-f"
-        rewrite_rule:
-          - "^(.*)$ / [L,R=301]"
-
+    error_documents:
+      - { error_code: 404 , document: "/index.html" }