• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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