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

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