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

Domain Custom ErrorDocuments

Andriy_Martynyuk

New Pleskian
Parallels Plesk v12.0.18_build1200140606.15 os_RedHat el6/CloudLinux Server 6.6

I try to redirect 404 to a specified page (any variant .htaccess or Home->Subscriptions-><domain>->Websites & Domains-><domain>->Web Server Settings->Additional directives for HTTP) with "Custom error documents" enabled to:
"error/content-not-found.php"

whitch is located ih httpdocs directory, but it gives me the 404 error:
"The requested URL /error/content-not-found.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."


and in logs I see:
"script '/var/www/error/content-not-found.php' not found or unable to stat".
But the site is located in:
"/DATA/www/<domain>/httpdocs"

Please help determining what to do.
 
Back
Top