• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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