RE: [PHP] Overiding HTTP/1.1 or Status headers
| From: | Rasmus Lerdorf | Date: | Thu, 28 Sep 2000 15:44:35 +0000 |
| Subject: | RE: [PHP] Overiding HTTP/1.1 or Status headers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17918@lists.php.net to get a copy of this message | ||
I'm using something very similar on Linux using the Apache module version,
so it is either a Windows or a CGI issue.
-Rasmus
> 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.
>
>