• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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