A
artm
Guest
Error docs for 404 errors etc work. But for 500 errors (Internal Server Error), the error gets written to the log, but all that gets displayed is a blank page. Also the response headers served are minimal (just HTTP Status Code: HTTP/1.1 500 Internal Server Error).
This is the same for all domains on the server. In <virtualhost> we have:
Alias "/error_docs" "/var/www/vhosts/domain.com/error_docs"
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
etc etc
The 500 file does exist. 'apachectl configtest' shows no errors.
Any ideas?
This is the same for all domains on the server. In <virtualhost> we have:
Alias "/error_docs" "/var/www/vhosts/domain.com/error_docs"
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
etc etc
The 500 file does exist. 'apachectl configtest' shows no errors.
Any ideas?