Custom error pages

As described in External files in dedicated folders, the Airlock Microgateway configbuilder expects the custom error pages to be stored in a specific folder. This can be accomplished by either mounting the pages directly into the container or by using a custom container image that contains the pages.

  • All files must be placed inside the /config/error-pages/ folder as single uncompressed files:
  • Typically, this comprises a maintenance page and the following HTML error code pages.
  • Image files, style sheets, etc. can be added on top-level in order to customize the error pages.
400.html
401.html
403.html
404.html
500.html
502.html
503.html
maintenance.html
default.css
favicon.ico  

By default error page replacement is disabled. Therefore, the error pages of the back-end system will be displayed and the error pages are only used for internal purposes (show maintenance page, blocks, communication errors, ...). To use them as well for the back-ends simply enable error page replacement.

The *.html files are Apache mod_asis files and allow to configure as well HTTP status code and other headers.

Further information and links