uCosminexus Application Server, Web Container Functionality Guide
This subsection describes the settings for error page customization.
Define the association between the error status code and error page in the following files:
Table 4-20 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 |
The following is an example of error page customization:
# Description of worker definition file worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=host1 worker.worker1.port=8007 worker.worker1.delegate_error_code=404 |
# Description of httpsd.conf# # ... ErrorDocument 404 /missing.html |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.