RE: [PHP] Overiding HTTP/1.1 or Status headers
| From: | Nold, Mark | Date: | Thu, 28 Sep 2000 09:24:18 +0000 |
| Subject: | RE: [PHP] Overiding HTTP/1.1 or Status headers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17883@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Rasmus,
This doesnt appear to work,
In Apache error.log
[Thu Sep 28 17:20:17 2000] [error] [client 10.10.0.125] malformed header
from script. Bad header=http/1.0 200 OK: c:/web/php4/php.exe
Could this be because im using the CGI version? Ive now read in the archives
that doing HTTP/1.1 404's for Authentication doesnt work in the CGI version.
Any ideas?
BTW: Im using PHP 4.0.3 and Apache/1.3.12 (Win32) mod_ssl/2.6.1
OpenSSL/0.9.5
Thanks,
mn
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@php.net]
Sent: Thursday, September 28, 2000 5:06 PM
To: Nold, Mark
Cc: Php-General (E-mail); Php-Windows (E-mail)
Subject: Re: [PHP] Overiding HTTP/1.1 or Status headers
Header("http/1.0 200 OK") should work fine.