#19666 [Com]: Mailformed header

From: Date: Mon, 30 Sep 2002 09:57:04 +0000
Subject: #19666 [Com]: Mailformed header
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20757@lists.php.net to get a copy of this message
 ID:               19666
 Comment by:       jason@muisbal.nl
 Reported By:      jason@muisbal.nl
 Status:           Bogus
 Bug Type:         Apache related
 Operating System: Linux
 PHP Version:      4.2.3
 New Comment:

Thank you.


Previous Comments:
------------------------------------------------------------------------

[2002-09-30 04:29:03] hholzgra@php.net

from: http://www.php.net/manual/en/features.http-auth.php

"The HTTP Authentication hooks in PHP are only available when it is
running as an Apache module and is hence not available in the CGI
version."

------------------------------------------------------------------------

[2002-09-30 02:34:08] jason@muisbal.nl

When trying to authenticate users with the following headers.

Header("WWW-Authenticate: Basic realm=\"My Realm\"");
Header("HTTP/1.0 401 Unauthorized");

Ill got a error 500 from apache(1.3.26) stating that the header is
malformed.
Php is running as CGI.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19666&edit=1



Thread (3 messages)

« previous php.bugs (#20757) next »