Status code from mod_php ErrorDocuments

From: Date: Wed, 02 Aug 2000 02:05:57 +0000
Subject: Status code from mod_php ErrorDocuments
Groups: php.dev 
Request: Send a blank email to php-dev+get-27380@lists.php.net to get a copy of this message
Hi, In addition to Bug 5885 i have to complain, that mod_php sends status 200 by default when used as ErrorDocument. This is not very good, because all User-Agents are cheated by this and are not going to parse other headers like 'Alternates' or even 'Location' correctly, so the functionality of HTTP Status Codes are broken. I'm sure, people can use the header() function to change this behaivour, but i think most people won't even notice, that something goes wrong. Apache sends the correct Status Code (if possible) when I define a text/html document as ErrorDocument (or a PHP CGI script), I think mod_php should do this by default, too. best regards, -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://www.bjoernsworld.de am Badedeich 7 · Telefon: +49(0)4667/981ASK · http://bjoern.hoehrmann.de 25899 Dagebüll · PGP KeyID: 0xA4357E78 · http://learn.to/quote <---

« previous php.dev (#27380) next »