• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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