Reply to Re: 404 OK ?

Your name:

Reply:


Posted by John Dunlop on 10/07/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация