adn-agov-iam-project/patterns/DefaulErrorPages_ecf4381f46...

25 lines
1.7 KiB
YAML

schemaVersion: "1.0"
pattern:
id: "ecf4381f4653b0aa9a69b417"
className: "ch.nevis.admin.v4.plugin.nevisproxy.patterns.GenericHostContextSettings"
name: "DefaulErrorPages"
label: "UTILS"
properties:
filters: "<filter>\n <filter-name>DefaultErrorFilter</filter-name>\n <filter-class>ch::nevis::isiweb4::filter::error::ErrorFilter</filter-class>\n\
\ <init-param>\n <param-name>StatusCode</param-name>\n <param-value>\n\
\ 400:file:/resources/errorPages/404.html:reset-header:reset-status-code\n\
\ 403:file:/resources/errorPages/403.html:reset-header:reset-status-code\n\
\t 404:file:/resources/errorPages/404.html:reset-header:reset-status-code\n\
\ 408:file:/resources/errorPages/timeout.html:reset-header:reset-status-code\n\
\ 500:file:/resources/errorPages/500.html:reset-header:reset-status-code\n\
\ 502:file:/resources/errorPages/502.html:reset-header:reset-status-code\n\
\ </param-value>\n </init-param>\n <init-param>\n <param-name>CheckAcceptHeader</param-name>\n\
\ <param-value>true</param-value>\n </init-param>\n <init-param>\n\
\ <param-name>PlaceHolders</param-name>\n <param-value>\n \
\ TransferIdHolder:TRANSFER_ID\n TimestampHolder:TIMESTAMP\n\
\ </param-value>\n </init-param>\n</filter>\n\n<filter-mapping>\n\
\ <filter-name>DefaultErrorFilter</filter-name>\n <url-pattern>/*</url-pattern>\n\
\ <exclude-url-regex>^/resource/utility/.*$</exclude-url-regex>\n</filter-mapping>\n"
filterMappings: "manual"
phase: "START"