From: Philipp Dallig Date: Tue, 18 Oct 2016 13:45:06 +0000 (+0200) Subject: sirona-aem - Test error-pages in right domain X-Git-Tag: v0.1.0~3956 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d01252f0dc6e302aef6cacc0a2a1c7129f203ff4;p=pixelpark%2Fhiera.git sirona-aem - Test error-pages in right domain --- diff --git a/customer/sirona-aem/production.yaml b/customer/sirona-aem/production.yaml index 3ee9feb3..400f0e95 100644 --- a/customer/sirona-aem/production.yaml +++ b/customer/sirona-aem/production.yaml @@ -390,6 +390,10 @@ site::profile::aem::publish::pp_vhosts: - 'Accept-Language ^fr language=fr-fr' headers: - 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin' + 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 @@ -418,10 +422,6 @@ site::profile::aem::publish::pp_vhosts: - 'Accept-Language ^zh language=zh-cn' headers: - 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin' - 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