• 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.

Change the Default error Documents

DominikG

New Pleskian
Hello,

i want to change the default error documents but i can't find the files.
if i change the /var/www/vhost/.skel/0/error_doc/
nothing happens.

i can change the custom error docs of each site but i want to change the default to..

Where can i find this files?

Plesk Panel 9.5.3
 
What do you mean 'nothing happens'?
http://kb.odin.com/en/1531

On my test server I see:
# ll /var/www/vhosts/plesk10.centos5.plesk.ru/error_docs/
total 52
-rwxr-xr-x 1 plesk10 psaserv 955 Nov 5 02:38 bad_gateway.html
-rwxr-xr-x 1 plesk10 psaserv 1026 Nov 5 02:38 bad_request.html
-rwxr-xr-x 1 plesk10 psaserv 969 Nov 5 02:38 forbidden.html
-rwxr-xr-x 1 plesk10 psaserv 1272 Nov 5 02:38 internal_server_error.html
-rwxr-xr-x 1 plesk10 psaserv 941 Nov 5 02:38 method_not_allowed.html
-rwxr-xr-x 1 plesk10 psaserv 946 Nov 5 02:38 not_acceptable.html
-rwxr-xr-x 1 plesk10 psaserv 970 Nov 5 02:38 not_found.html
-rwxr-xr-x 1 plesk10 psaserv 1032 Nov 5 02:38 not_implemented.html
-rwxr-xr-x 1 plesk10 psaserv 1083 Nov 5 02:38 precondition_failed.html
-rwxr-xr-x 1 plesk10 psaserv 1000 Nov 5 02:38 proxy_authentication_required.html
-rwxr-xr-x 1 plesk10 psaserv 987 Nov 5 02:38 request-uri_too_long.html
-rwxr-xr-x 1 plesk10 psaserv 1226 Nov 5 02:38 unauthorized.html
-rwxr-xr-x 1 plesk10 psaserv 1025 Nov 5 02:38 unsupported_media_type.html

# ll /var/www/vhosts/.skel/0/error_docs/
total 52
-rw-r--r-- 1 root root 944 Oct 20 08:54 bad_gateway.html
-rw-r--r-- 1 root root 1015 Oct 20 08:54 bad_request.html
-rw-r--r-- 1 root root 958 Oct 20 08:54 forbidden.html
-rw-r--r-- 1 root root 1261 Oct 20 08:54 internal_server_error.html
-rw-r--r-- 1 root root 930 Oct 20 08:54 method_not_allowed.html
-rw-r--r-- 1 root root 935 Oct 20 08:54 not_acceptable.html
-rw-r--r-- 1 root root 959 Oct 20 08:54 not_found.html
-rw-r--r-- 1 root root 1021 Oct 20 08:54 not_implemented.html
-rw-r--r-- 1 root root 1072 Oct 20 08:54 precondition_failed.html
-rw-r--r-- 1 root root 989 Oct 20 08:54 proxy_authentication_required.html
-rw-r--r-- 1 root root 976 Oct 20 08:54 request-uri_too_long.html
-rw-r--r-- 1 root root 1215 Oct 20 08:54 unauthorized.html
-rw-r--r-- 1 root root 1014 Oct 20 08:54 unsupported_media_type.html
 
Sorry i mean that the shown Error Document isn't the changed one.

The changes were made in this directory at the files you posted above:
/var/www/vhosts/.skel/0/error_docs/

If i change the html files at a domain and switch on custom error docs in plesk then it works and the right from the domain\error_docs will be shown
/var/www/vhosts/domain/error_docs/

But i wanted to change the standard error docs for all sites which do not use the custom error docs.
 
Last edited:
Back
Top