]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
BMWI-GWO: redirect to index
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 16 Oct 2017 08:36:26 +0000 (10:36 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 16 Oct 2017 08:36:26 +0000 (10:36 +0200)
customer/bmwi-gruenderwoche/test.yaml

index 95056b6f3b56c723351eea550fc81d6b15983061..ad03aa321dee5484f528d4a0a45d4a5649652d0e 100644 (file)
@@ -78,3 +78,10 @@ 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]"
+