www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Pierre <pie...@prof.inria.fr>
Subject Re: general/2232: When using Error_document directives, Apache returns HTTP code 200 instead of the error code
Date Fri, 22 May 1998 13:22:24 GMT

>  Synopsis: When using Error_document directives, Apache returns HTTP code 200 instead
of the error code
>  
>  State-Changed-From-To: open-feedback
>  State-Changed-By: coar
>  State-Changed-When: Mon May 18 17:58:23 PDT 1998
>  State-Changed-Why:
>  To ensure proper behaviour, you should have your "notfound"
>  script emit the following CGI header field:
>  
>  Status: 404 Not Found
>  
>  Try adding that and see if you get the correct behaviour.


Ooops! In fact, my "notfound" CGI emited the followin field :

Status: 200 OK

Once this stupid line has been removed, everything works fine.

Thanks!

-- 
Guillaume PIERRE
INRIA Projet SOR - B.P. 105 - 78153 Le Chesnay Cedex - FRANCE
Tel : +33 1 39 63 57 55        e-mail : Guillaume.Pierre@inria.fr
Fax : +33 1 39 63 53 72    Web : http://www-sor.inria.fr/~pierre/

Mime
View raw message