]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem - SIRONAMAIN-1121 enable en-ca
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 27 Jun 2017 12:23:00 +0000 (14:23 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 27 Jun 2017 12:23:00 +0000 (14:23 +0200)
customer/sirona-aem/production.yaml

index 307c86b5a951d4825f5ad6db9f358140f164af24..7dbc82883589c8e9e110dc24aead85d85ae8c951 100644 (file)
@@ -1636,6 +1636,7 @@ infra::profile::aem::publish::pp_vhosts:
       - 'Accept-Language ^en-(US|us)$ language=en-us'
       - 'Accept-Language ^en-(UK|uk)$ language=en-gb'
       - 'Accept-Language ^en-(GB|gb)$ language=en-gb'
+      - 'Accept-Language ^en-(CA|ca)$ language=en-ca'
       - 'Accept-Language ^de language=de-de'
     headers:
       - 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin'
@@ -1658,6 +1659,26 @@ infra::profile::aem::publish::pp_vhosts:
         path: /var/www/html/error_custom/
         options:
           - +Includes
+      - provider: locationmatch
+        path: '^/en/'
+        error_documents:
+          - { error_code: 404 , document: "/en/error-pages/404.html" }
+          - { error_code: 500 , document: "/en/error-pages/500.html" }
+      - provider: locationmatch
+        path: '^/en-us/'
+        error_documents:
+          - { error_code: 404 , document: "/en-us/error-pages/404.html" }
+          - { error_code: 500 , document: "/en-us/error-pages/500.html" }
+      - provider: locationmatch
+        path: '^/en-gb/'
+        error_documents:
+          - { error_code: 404 , document: "/en-gb/error-pages/404.html" }
+          - { error_code: 500 , document: "/en-gb/error-pages/500.html" }
+      - provider: locationmatch
+        path: '^/en-ca/'
+        error_documents:
+          - { error_code: 404 , document: "/en-ca/error-pages/404.html" }
+          - { error_code: 500 , document: "/en-ca/error-pages/500.html" }
       - provider: locationmatch
         path: '^/de-de/'
         error_documents: