Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

document_errors don't work

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
userman
Posts: 3
Joined: Tue Oct 06, 2015 12:56 pm

document_errors don't work
  • Quote

Post by userman » Wed Feb 22, 2017 7:23 pm

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

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: document_errors don't work
  • Quote

Post by mehargags » Wed Feb 22, 2017 8:16 pm

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
Top

userman
Posts: 3
Joined: Tue Oct 06, 2015 12:56 pm

Re: document_errors don't work
  • Quote

Post by userman » Thu Feb 23, 2017 11:37 am

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


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password