The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

404 Default page

Discussion in 'General Discussion' started by maxihost2, Aug 1, 2005.

  1. maxihost2

    maxihost2 Well-Known Member
    PartnerNOC

    Joined:
    Feb 28, 2005
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    How can I set the 404 and other Error pages with a default template for my customers ?

    So when new accounts are set up, cPanel will automaticaly upload a default 40X to customers homedir (customer might be able to change to he/she 40X page obviously).

    Thank you !
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You can use the /root/cpanel3-skel/ directory for such purposes.
     
  3. respect

    respect Member

    Joined:
    Nov 23, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I did not understand your answer

    How can i customer a templates for any error like 404,403,500.etc...

    ( for marketing ) and my customer will not be able to edit it right
     
  4. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Add the following in the .htaccess file inside public_html folder and make the files accordingly

    ErrorDocument 500 /script_error.html
    ErrorDocument 404 /error_page.html

    Eg: make a filename called error_page.html inside the public_html folder , so that all 404 pages will be servers by the contents inside the page error_page.html.
     
  5. respect

    respect Member

    Joined:
    Nov 23, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I would like to make a customer 404,403,500 file but my client/customer will can't editable it

    Is there have any solutions?

    Thank you
     
Loading...

Share This Page