• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved custom error page don't work

dengolius

New Pleskian
I am using apache+nginx on Server. I added this config into Additional directives for HTTP:

ErrorDocument 500 /var/www/vhosts/site.com/error_docs/error503.html

And this into Additional nginx directives

error_page 500 /error503.html;
error_page 501 /error503.html;
error_page 502 /error503.html;
error_page 503 /error503.html;
location = /error503.html {root /var/www/vhosts/site.com/error_docs;}


But those directives are not working. I get 500 error page:

This page isn’t working
site.com is currently unable to handle this request.

HTTP ERROR 500

What I'am doing wrong?
 
Hi dengolius,

to investigate your described issue, you should consider to add corresponding log - files from => /var/www/vhosts/system/site.com/logs , so that people willing to help you have something to start with their investigations. In addition, it could help to include the depending domain - specific configuration files from => /var/www/vhosts/system/site.com/conf .

In addition, pls. note that you might have to configure your "open_basedir", or/and have to change the permissions of your folder/files. ;)
 
Hi dengolius,

to investigate your described issue, you should consider to add corresponding log - files from => /var/www/vhosts/system/site.com/logs , so that people willing to help you have something to start with their investigations. In addition, it could help to include the depending domain - specific configuration files from => /var/www/vhosts/system/site.com/conf .

In addition, pls. note that you might have to configure your "open_basedir", or/and have to change the permissions of your folder/files. ;)


There is resolving Resolved - Custom 500 error page
 
Back
Top