Server Returns Incorrect Header

Discussion in 'Site & Server Administration' started by rzvagelsky, Mar 5, 2007.

  1. #1
    So I am having a little issue with my site...seems like no matter what I enter as the URL, the server is returning a 500 error. For instance, the URL: http://www.planjam.com/blahblahblah.html returns a 500 when it should be returning a 404.

    When I use a tool to see what error code is being returned...the tool also shows a 500.

    Any insight into the situation would be appreciated.

    Thanks!
     
    rzvagelsky, Mar 5, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, it seems it is only the 404error pages, returning the 500
    Existing pages are returning the correct 200.

    Do you have custom error pages set up? maybe there is something incorrect there. Failing that, it might be a server mis-configuration... strange problem
     
    cyanide, Mar 5, 2007 IP
  3. rzvagelsky

    rzvagelsky Well-Known Member

    Messages:
    1,214
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Yea I do have custom error pages set up...but even when I remove them, I still get the generic page not found error.
     
    rzvagelsky, Mar 5, 2007 IP
  4. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you're getting the page not found error, then that's a 404 and is correct, so it must have something to do with the custom error pages
     
    cyanide, Mar 6, 2007 IP
  5. rzvagelsky

    rzvagelsky Well-Known Member

    Messages:
    1,214
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #5
    Sorry I meant the 500 internal server error...
     
    rzvagelsky, Mar 6, 2007 IP
  6. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Does your hosting account come with error logs?
    For example cPanel does. Can you check to see if anything is showing up there?
    Failing that, who is your host, maybe it's a server mis-configuration.. strange problem
     
    cyanide, Mar 6, 2007 IP