From e692c20489f7b43de2eccf9b0b09b9519c8d0a74 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Mon, 16 Oct 2017 14:04:14 +0200 Subject: [PATCH] BMWI-GWO: maintenance page --- customer/bmwi-gruenderwoche/production.yaml | 8 ++------ customer/bmwi-gruenderwoche/test.yaml | 9 ++------- 2 files changed, 4 insertions(+), 13 deletions(-) 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" } -- 2.39.5