Not able to provide file for
error_code instead of URL.
There are two ways to setup the error docs within Plesk.
Type " File " can be used only for EXISTING file located inside '
error_docs' folder. Like just
'not_found.html'. Non-existing file will be rejected with error:
Error: File location is invalid
Any error document should be referred to type "URL" as ABSOLUTE URL , like "
Surely, this document should be located in available place. Relative URLs are rejected with:
Error: Wrong URL format. Please enter an absolute URL within the virtual host (site)
Make sure that you follow principles above.