]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem - error page test
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 18 Oct 2016 13:30:03 +0000 (15:30 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 18 Oct 2016 13:30:03 +0000 (15:30 +0200)
customer/sirona-aem/production.yaml

index 13dd5cc044d885a1c005baa0be83989d72bc6f06..3ee9feb3daf2015b011d4414d63a187c8d06d045 100644 (file)
@@ -418,9 +418,10 @@ site::profile::aem::publish::pp_vhosts:
       - 'Accept-Language ^zh language=zh-cn'
     headers:
       - 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin'
-     # Does't really work. Maybe i have an other idea
-#    error_documents:
+    error_documents:
+    # Does't really work. Maybe i have an other idea
 #      - { error_code: 404 , document: "/%%{ich-trickse}{ENV:language}/error-pages/404.html" }
+      - { error_code: 404 , document: "/error.html" }
     directories:
       - docroot:
         provider: directory