User can customize personal error pages, if server response any error user can handle just like HTML pages
400 — Bad Request 401 — Authorization Required 402 — Payment Required (not used yet) 403 — Forbidden 404 — Not Found 405 — Method Not Allowed 406 — Not Acceptable (encoding) 407 — Proxy Authentication Required 408 — Request Timed Out 409 — Conflicting Request 410 — Gone 411 — Content Length Required 412 — Precondition Failed 413 — Request Entity Too Long 414 — Request URI Too Long 415 — Unsupported Media Type.
500 — Internal Server Error 501 — Not Implemented 502 — Bad Gateway 503 — Service Unavailable 504 — Gateway Timeout 505 — HTTP Version Not Supported.
You can custotm error documents by error number like below. you will need to create HTML document for each error code.
ErrorDocument errorcode /file.html
For example if any file is not found in the root
ErrorDocument 404 /not_found_error.html
If error pages is not in the root directory of the server, user can enter full path of the file.
ErrorDocument 404 /errors/not_found_error.html ErrorDocument 500 /errors/internal_error.html