]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
BMWI-GWO: maintenance page
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 16 Oct 2017 12:04:14 +0000 (14:04 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 16 Oct 2017 12:04:14 +0000 (14:04 +0200)
customer/bmwi-gruenderwoche/production.yaml
customer/bmwi-gruenderwoche/test.yaml

index 53ba6822863dfa443d286df1e746ddd29cfd070e..8b48744c56a53970363e78e0fcc03953d3b268c7 100644 (file)
@@ -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" }
index ad03aa321dee5484f528d4a0a45d4a5649652d0e..691f054d81d2c8ef49db81f44bdf39bda5dd9560 100644 (file)
@@ -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" }