404 error header?

Discussion in 'HTML' started by Matthew, Aug 28, 2004.

  1. Matthew

    Matthew Guest

    I have a web site with a custom 404 error page. I noticed something odd the
    other day; instead of returning 404 in the HTTP headers, it returns 200 OK.

    Is there a situation where this would be a problem? Or should I just ignore
    it?

    Matthew
     
    Matthew, Aug 28, 2004
    #1
    1. Advertising

  2. Matthew wrote:

    > I have a web site with a custom 404 error page. I noticed something odd
    > the other day; instead of returning 404 in the HTTP headers, it returns
    > 200 OK.


    > Is there a situation where this would be a problem?


    Yes. Search engines, for example, or automated link checkers.


    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
     
    David Dorward, Aug 28, 2004
    #2
    1. Advertising

  3. Matthew

    Matthew Guest

    "David Dorward" <> wrote in message
    news:cgqu65$76f$1$...
    > Matthew wrote:
    >
    >> I have a web site with a custom 404 error page. I noticed something odd
    >> the other day; instead of returning 404 in the HTTP headers, it returns
    >> 200 OK.

    >
    >> Is there a situation where this would be a problem?

    >
    > Yes. Search engines, for example, or automated link checkers.
    >
    >
    > --
    > David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    > Home is where the ~/.bashrc is


    Right. Good point.

    I guess I'll have to get after my web host.
    Do you know if it's possible to do this in IIS 6?

    Matthew
     
    Matthew, Aug 28, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jonathan Folland
    Replies:
    2
    Views:
    1,647
    Jonathan Folland
    Mar 17, 2005
  2. Replies:
    3
    Views:
    994
    HalcyonWild
    Oct 14, 2005
  3. Bishop
    Replies:
    1
    Views:
    801
    Bishop
    Feb 24, 2007
  4. mlt
    Replies:
    2
    Views:
    863
    Jean-Marc Bourguet
    Jan 31, 2009
  5. Robert Sedlacek

    How do I print http 404 not found header?

    Robert Sedlacek, Oct 18, 2004, in forum: Perl Misc
    Replies:
    16
    Views:
    280
    Tad McClellan
    Oct 21, 2004
Loading...

Share This Page