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!

Very strange ErrorDocument issue

Discussion in 'General Discussion' started by irchs, Jul 27, 2004.

  1. irchs

    irchs Well-Known Member

    Joined:
    Jun 3, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    156
    Whenever I try and access a non-existent file, such as foo.bar or something, apache keeps looking for the 404 in its default directory /usr/local/apache/etcetc.... rather than the virtualhosts public_html directory.

    ErrorDocument directives are configure as follows:

    ErrorDocument 404 /404.shtml
    etc for the others

    You can see the issue @ http://www.phucknut.net/foo.bar

    Very strange indeed, any ideas anyone?!

    I can post more info if needed.

    Thanks

    Jan
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. irchs

    irchs Well-Known Member

    Joined:
    Jun 3, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    156
    Anyone?! :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. irchs

    irchs Well-Known Member

    Joined:
    Jun 3, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    156
    Not Found
    The requested URL /foo.bar was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

    I get that even tho 404.shtml exists in my root directory :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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