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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jason at muisbal dot nl
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 12:00:02 2025 UTC