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.

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:
    6
    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
     
  2. irchs

    irchs Well-Known Member

    Joined:
    Jun 3, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Anyone?! :(
     
  3. irchs

    irchs Well-Known Member

    Joined:
    Jun 3, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    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 :(
     
Loading...

Share This Page