• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Error Document 500 Not Being Served

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?
 
You are using custom error documents?

If so then, as I recall, there's a bug in...Internet Explorer I think...that causes this problem.

Something to do with the size of the file - it can't be too small.

Try adding a load of comments to the file...anything to increase the file size.

Faris.
 
Back
Top