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.

Error Pages

Discussion in 'General Discussion' started by Jontxu40, Jan 3, 2003.

  1. Jontxu40

    Jontxu40 Well-Known Member

    Joined:
    Dec 9, 2002
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Hi :

    I have problems with error pages.
    It seems .htaccess work fine with :

    [i:a6ae999fb3]errorDocument 404 http://domain.com/404.shtml[/i:a6ae999fb3]

    but not with :

    [i:a6ae999fb3]ErrorDocument 404 /404.shtml[/i:a6ae999fb3]

    is a big problem because http.conf have the lines :

    [i:a6ae999fb3]#Added by cpanel 5.3.0-RELEASE_29 install
    ErrorDocument 400 /400.shtml
    ErrorDocument 401 /401.shtml
    ErrorDocument 403 /403.shtml
    ErrorDocument 404 /404.shtml
    ErrorDocument 500 /500.shtml[/i:a6ae999fb3]

    This cause a lot of lines at error_log when the page is not found (1 line for the page required and other line for 404.shtml)

    Any idea ?

    Thanks in advance

    ------------------
    jontxu
     
  2. iain-pczap.net

    iain-pczap.net Active Member

    Joined:
    Dec 27, 2002
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    im unsure if this is true or not, but stated in cpanel is &error pages must be over 10k to be displayed in Internet Explorer(R)& or something like that.

    maybe you should check if your error pages are over 10k?
     
  3. irchs

    irchs Well-Known Member

    Joined:
    Jun 3, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    I have the exact same issue.

    In firefox, which is a superior browser btw :) If you go to say http://www.phucknut.net/foo.bar it doesn't return any data and the error log says it can not fine the 404.shtml file in /usr/local/apache/etcetc...

    I have toiled for ages and I still can't find an answer. Setting it in .htaccess works perfectly, but globally on the server, no 40x error pages work :(

    Any ideas anyone?!

    Jan
     
  4. webits

    webits Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    I've the same issue as you, If you've fixed it how did you fix it please do tell ..

    Thanks
     
Loading...

Share This Page