エラーステータスコードとエラーページとの対応づけは,次のファイルで定義します。
表3-20 エラーページと対応づけできるエラーステータスコード
エラーステータスコード | 説明句 |
---|---|
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 |
エラーページのカスタマイズの例を次に示します。
# ワーカ定義ファイルの記述 |
# httpsd.confの記述# |