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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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