| 
 Posted by John Dunlop on 06/17/08 11:46 
wd: 
 
>   header("HTTP/1.0 404 Not Found"); 
 
> HTTP/1.x 404 OK 
 
  According to RFC2616 the x must be a digit. 
 
  The 'OK' (called a reason phrase) is for human consumption.  Your 
browser would still take this as a 404.  RFC2616 section 6.1.1: 
 
http://www.ietf.org/rfc/rfc2616.txt 
 
  In the status line you wrote, your HTTP version is 1.0, but the 
headers your server sends are only defined under 1.1.  What happens if 
you change your status line to read: 
 
HTTP/1.1 404 Not Found 
 
--  
Jock
 
  
Navigation:
[Reply to this message] 
 |