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.

How to edit Apache error pages?

Discussion in 'EasyApache' started by Xx4everxX, Mar 19, 2012.

  1. Xx4everxX

    Xx4everxX Registered

    Joined:
    Mar 19, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I want to edit some error pages of Apachhe such as "404 Not found": -removed-
    Or "403 Forbidden":-removed- of my clients's shared hosting without editing .htaccess file in their hosts.
    Please help me, thanks
     
    #1 Xx4everxX, Mar 19, 2012
    Last edited by a moderator: Apr 2, 2012
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You can edit the error pages in cPanel > Error Pages area if the account is at a shared hosting provider where you only have access to the cPanel account itself (and not root access to the machine). You have no choice but to use cPanel > Error Pages area if you don't have root access on the server. This creates pages called 404.shtml, 403.shtml and so on in /home/username/public_html/ location (where username is the cPanel username). It doesn't create any .htaccess entries.
     
  3. ApaceHosting

    ApaceHosting Member

    Joined:
    Feb 8, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I fixed it. Thanks for your super fast reply though, you guys are awesome!
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You are very welcome, although please explain how it was fixed precisely.
     
  5. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Sorry for the bump, but how can I edit the default apache pages of errors of all the domains?
    So I have
    x123.domain.com
    and
    56vd.domains1.com
    How can I edit the default error pages and such?
     
Loading...

Share This Page