Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

New cpanel 404 page

Discussion in 'General Discussion' started by simonpearce, May 30, 2008.

  1. simonpearce

    simonpearce Well-Known Member

    Jun 20, 2003
    Likes Received:
    Trophy Points:
    Didn't know anything about this until I started getting e-mails (assume it came about with this week's release?)!

    404 Not Found
    The server can not find the requested page: (port 80) 
    Please forward this error screen to hostname's WebMaster. 
    with a clickable e-mail link to the Server Contact E-Mail Address!!

    We *really* don't want this (or at least set the e-mail address to the account's e-mail rather than the main server contact).

    Can we remove this and stick with apache 404s?


  2. rhenderson

    rhenderson Well-Known Member

    Apr 21, 2005
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Check and see if you have a 404.shtml, I thought if the 404.shtml was not there it used the Apache 404's but since 404's not found fill up our error log we made a generic on to put in the skel dir so all new acocunts get the gerneic one and they can make thier on if they wish.


    Our code for our generic html is:

    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Error Page</title></head>
    <p align="center"><b><i><font size="7">404 Error</font></i></b></p><div align="center"><center>
    <div align="center">><BR>
    <table borderColor="#ffffff" cellSpacing="0" cellPadding="1" width="500" borderColorLight="#000000" border="1"><tr>
    <td align="middle" bgColor="#cccccc"><font style="FONT-SIZE: 12px" face="Arial" size="2">
    <b>Error 404: File Not Found</b></font></td></tr>
    <td align="middle" bgColor="#ffffff">
    <p align="center"><font style="FONT-SIZE: 12px" face="Arial" size="2">
    <br>The requested URL, <!--#echo var="REQUEST_URI" --> was not found on this server. Please verify your input</font></p>
    Hope that helps, oh yeah there is also a script that can add it to all existing accounts. It is not mine but I found it here somewhere. If you cannot find it reply and I will post it.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 rhenderson, May 30, 2008
    Last edited: May 30, 2008

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice