On Wed, 25 Sep 2002, Edin Kadribasic wrote: > For some reason http status reporting has been changed in the current CVS > version of PHP. This breaks PHP under IIS and possibly other servers. Please > see http://bugs.php.net/bug.php?id=19207 for details.
The reason is that it did not work properly with Apache before. When seeing a status line in RFC 2616 format from a CGI, Apache will issue a 505 error, because Apache expects it to be in the informal CGI RFC format. Note that this specific change was requested after I improved the SAPI layer to always send out the status line. If a user had called header() to set the status code, the error would have been the same, regardless of the SAPI layer change. If IIS cannot accept the CGI RFC format, a configuration option needs to be added which chooses one of the formats. - Sascha -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php