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

Default error pages...

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Ghillie-up
Posts: 22
Joined: Fri Jun 20, 2014 8:35 am

Default error pages...
  • Quote

Post by Ghillie-up » Fri Jun 20, 2014 8:41 am

I have placed a personal error (404) page on a site within the:
/home/$user/web/domain.co.uk/document_errors - directory, however where are the default pages that apache serves.

At this time I have the following on a 403 -

Forbidden

You don't have permission to access / on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.15 (CentOS)


Are they in - /usr/local/vesta/web/error ?? If so what's the format as I have 2 directories - 1 X 404 and 1 X 403 each with a index.html page, but apache is still showing the default.
Top

Ghillie-up
Posts: 22
Joined: Fri Jun 20, 2014 8:35 am

Re: Default error pages...
  • Quote

Post by Ghillie-up » Fri Jun 20, 2014 11:08 am

Ok, so basically I have figured out that the personal 404 pages within the /home/$user/web/domain.co.uk/document_errors work fine (I was looking at a subdomain for my ns records >.< fool.)

So, is it possible to amend the templates for the default error pages that Vesta makes for each hosting package.

Cheers.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Default error pages...
  • Quote

Post by imperio » Tue Jun 24, 2014 6:32 pm

You can change default error pages in this directory

Code: Select all

/usr/local/vesta/data/templates/web/skel/document_errors
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