php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19666 Mailformed header
Submitted: 2002-09-30 02:34 UTC Modified: 2002-09-30 04:29 UTC
From: jason at muisbal dot nl Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
 [2002-09-30 02:34 UTC] jason at muisbal dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-30 04:29 UTC] 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 04:57 UTC] jason at muisbal dot nl
Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 12:01:31 2024 UTC