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.

Custom Error pages

Discussion in 'General Discussion' started by tommo1590, Mar 16, 2009.

  1. tommo1590

    tommo1590 Registered

    Joined:
    Mar 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    How can we make custom error pages which apply for every account that is created?

    Tom
     
  2. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Create your error pages and add them to the /root/cpanel3-skel/public_html/ directory and every new site will have those files...

    Here is my skeleton tree...
    /root/cpanel3-skel/public_html/.htaccess
    /root/cpanel3-skel/public_html/400.shtml
    /root/cpanel3-skel/public_html/401.shtml
    /root/cpanel3-skel/public_html/403.shtml
    /root/cpanel3-skel/public_html/404.shtml
    /root/cpanel3-skel/public_html/406.shtml
    /root/cpanel3-skel/public_html/500.shtml
    /root/cpanel3-skel/public_html/favicon.ico
    /root/cpanel3-skel/public_html/index.shtml
    /root/cpanel3-skel/public_html/robots.txt
    /root/cpanel3-skel/public_html/images/alert.png
    /root/cpanel3-skel/public_html/images/comingsoon.jpg
    /root/cpanel3-skel/public_html/images/error.png
     
  3. tommo1590

    tommo1590 Registered

    Joined:
    Mar 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thanks!

    Tom
     
Loading...

Share This Page