note 30446 modified in function.header by jsheets

From: Date: Wed, 19 Mar 2003 01:59:19 +0000
Subject: note 30446 modified in function.header by jsheets
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-45494@lists.php.net to get a copy of this message
[Editor's Note] You can change the response code to 200 OK by header("status: 200") or header("http/1.0 200 Ok") depending on your configuration which will prevent IE from displaying a 404 page.[/Note] If you ever wanted to define custom ErrorDocuments in Apache, you might have experienced problems with IE browsers. This f****** chunk of software uses it's own standard error documents which often aren't very useful. Nevertheless to convince this piece of s*** of doing what it should have to do, you have to feed it with some extra header-information. Just send a "WWW-Authenticate:" response-header field with arbitrary content, e.g. take the first example from this site header('WWW-Authenticate: Negotiate'). Don't know why, but it works... greetz from germany, Andy P.S.: Check this out: http://www.laut.de --was-- If you ever wanted to define custom ErrorDocuments in Apache, you might have experienced problems with IE browsers. This f****** chunk of software uses it's own standard error documents which often aren't very useful. Nevertheless to convince this piece of s*** of doing what it should have to do, you have to feed it with some extra header-information. Just send a "WWW-Authenticate:" response-header field with arbitrary content, e.g. take the first example from this site header('WWW-Authenticate: Negotiate'). Don't know why, but it works... greetz from germany, Andy P.S.: Check this out: http://www.laut.de http://www.php.net/manual/en/function.header.php

« previous php.notes (#45494) next »