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.

New cpanel 404 page

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

  1. simonpearce

    simonpearce Well-Known Member

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

    Code:
    404 Not Found
    The server can not find the requested page:
    
    www.yourdomain.com/ddede (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?

    Cheers

    Simon
     
  2. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    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.

    [​IMG]

    Our code for our generic html is:

    HTML:
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Error Page</title></head>
    <body>
    <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>
    <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>
    <br><br>
    </td></tr>
    </table>
    <p>&nbsp;</p>
    </body>
    </html>
    
    
    
    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.
     
    #2 rhenderson, May 30, 2008
    Last edited: May 30, 2008
Loading...

Share This Page