Hmm, maybe you're talking about 503, which is not exactly the same thing as 500.
Take a look at RFC 2616, section 10. On 6/13/07, Andrei Nigmatulin <[EMAIL PROTECTED]> wrote:
On Wednesday 13 June 2007 21:45, Nicolas Bérard-Nault wrote: > Returning 404 (or any other code other than 500) does not make sense. If an > user sees a Page not found error, he probably won't bother and won't come > back / delete his bookmark. On the other hand, if a search engine bot > stumbles upon one of these, the page is automatically erased from the > index, no questions asked. Off-hand, I can see these two consequences, on > top of not respecting the HTTP standard. At least for fastcgi SAPI code other than 500 does make sense, since most web servers use 500 as "Backend unavailable" (connection refused). What if people need to distinguish these two ? > This seems obvious but am I missing something ? > > On 6/13/07, David Coallier <[EMAIL PROTECTED]> wrote: > > On 6/13/07, Stanislav Malyshev < [EMAIL PROTECTED]> wrote: > > > > Configuaratin option make sense, but PHP already has too many > > > > configuration > > > > > > options especialliy for error reprting. > > > > I would like to avoid new ones. > > > > > > set_error_code(500) (or set_error_code(404)) might help? > > > -- > > > > I am with set_error_code +1 > > > > > Stanislav Malyshev, Zend Products Engineer > > > [EMAIL PROTECTED] http://www.zend.com/ > > > > > > -- > > > PHP Internals - PHP Runtime Development Mailing List > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > > David Coallier, > > Founder & Software Architect, > > Agora Production (http://agoraproduction.com) > > 51.42.06.70.18 > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php -- Andrei Nigmatulin GPG PUB KEY 6449830D Now I lay me down to sleep(3) Pray the OS my core to keep If I die before I wake Pray the Disk my core to take
-- Nicolas Bérard-Nault ([EMAIL PROTECTED]) Étudiant D.E.C. Sciences, Lettres & Arts Cégep de Sherbrooke Homepage: http://nicobn.googlepages.com