uCosminexus Application Server, Web Container Functionality Guide
This subsection describes the settings for the error page customization.
Define the association between the error status code and the error page in the following files:
Take the following precautions when specifying the error status codes in the Easy Setup definition file:
Table 4-19 Error status codes that can be associated with error pages
Error status codes | Explanation |
---|---|
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
403 | Forbidden |
404 | Not Found |
405 | Method Not Allowed |
406 | Not Acceptable |
407 | Proxy Authentication Required |
408 | Request Time-out |
409 | Conflict |
410 | Gone |
411 | Length Required |
412 | Precondition Failed |
413 | Request Entity Too Large |
414 | Request-URI Too Long |
415 | Unsupported Media Type |
416 | Requested Range Not Satisfiable |
417 | Expectation Failed |
422 | Unprocessible Entity |
423 | Locked |
424 | Failed Dependency |
500 | Internal Server Error |
501 | Not Implemented |
502 | Bad Gateway |
503 | Service Unavailable |
504 | Gateway Time-out |
505 | HTTP Version not supported |
507 | Insufficient Storage |
510 | Not Extended |
Take the following precautions when you specify the ErrorDocument directive in httpsd.conf:
The following example describes the error page customization:
... <param> <param-name>worker.list</param-name> <param-value>worker1</param-value> </param> <param> <param-name>worker.worker1.type</param-name> <param-value>ajp13</param-value> </param> <param> <param-name>worker.worker1.host</param-name> <param-value>host1</param-value> </param> <param> <param-name>worker.worker1.delegate_error_code</param-name> <param-value>404</param-value> </param> ... |
# Description of httpsd.conf# # ... ErrorDocument 404 /missing.html |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.