Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Error documents in the Shared & Semi-Dedicated forum
Sorry if this is the wrong forum, I spent ages trying to work out which one would be a best fit. When my site generates ...

  1. #1
    Loyal Client
    Join Date
    Dec 2001
    Posts
    42

    Error documents

    Sorry if this is the wrong forum, I spent ages trying to work out which one would be a best fit.

    When my site generates a document not found message it sends the following page...

    Not Found
    The requested URL /whatever 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 have nothing defined in the control panel, and I have no .htaccess file so why is it looking for, and not finding, an error document elsewhere?

    It just looks messy is all. Eventually I will create a custom error, but for now I am happy with the apache default.

    I tried putting ErrorDocument 404 default in an .htaccess file but this only gives me an error 500 instead.

    My questions are - is it just me, and why is it happening?

    Thanks.

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    I think it has to do with the way CPanel is set up. I've seen these kinds of error messages on other CP hosts, not just here at JPC. I think that CP probably has Apache set up to look wherever it stores what you enter into the "Custom Error Message" section. If you haven't put anything there (or redefined the path within .htaccess) then you get the message you're seeing.

    Personally I use custom error pages that keep the look of my site and provide my visitors with links and relavant information about the error, defined in .htaccess. This is, IMHO, the most user-friendly way to do it. As a short-term solution, though, if the default errors really bug you, just throw some simple HTML into the CP form to mimic a "real" Apache error and voila!

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  3. #3
    Loyal Client
    Join Date
    Dec 2001
    Posts
    42
    At least it isn't just me then, I kind of guessed at your explanation as it does make sense.

    Can't believe I didn't think of spoof the custom error page though, thanks for that.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •