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

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