document_errors don't work
document_errors don't work
Hi,
when I access to http://www.domain.com/page-error.php
I get the error:
Not Found
The requested URL /my_error.php was not found on this server.
and this is not my template page error of /home/username/web/domainname.com/document_errors or /usr/local/vesta/data/templates/web/skel/document_errors
where is the page error then?
My config domain in vestacp:
Web Template HTTPD: default
Proxy Support NGINX: Active
Proxy Template: default
Web Statistics: none
Thanks.
when I access to http://www.domain.com/page-error.php
I get the error:
Not Found
The requested URL /my_error.php was not found on this server.
and this is not my template page error of /home/username/web/domainname.com/document_errors or /usr/local/vesta/data/templates/web/skel/document_errors
where is the page error then?
My config domain in vestacp:
Web Template HTTPD: default
Proxy Support NGINX: Active
Proxy Template: default
Web Statistics: none
Thanks.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: document_errors don't work
when you get this message The requested URL /my_error.php was not found on this server, it is default Error 404 output of Apache. you need to tell in your virtual hosts or through htaccess which file to load when 404.
http://www.htmlgoodies.com/beyond/refer ... r-Page.htm
http://www.htmlgoodies.com/beyond/refer ... r-Page.htm
Re: document_errors don't work
Thanks!!
the method .htaccess work, but why when i add a new domain to vestacp, the domain dont use /home/username/web/domainname.com/document_errors ?
Regards.
the method .htaccess work, but why when i add a new domain to vestacp, the domain dont use /home/username/web/domainname.com/document_errors ?
Regards.