php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52670 HTTP authentication with CGI
Submitted: 2010-08-22 17:00 UTC Modified: 2010-10-20 09:48 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: raphaelm@php.net Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Debian lenny
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: raphaelm@php.net
New email:
PHP Version: OS:

 

 [2010-08-22 17:00 UTC] raphaelm@php.net
Description:
------------
In the PHP documentation there is written:
"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."

In fact it DOES work for me.
I use php-cgi via FastCGI on Debian lenny with lighttpd and there IS a correct value in $_SERVER['PHP_AUTH_USER']. What's happening here?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-20 09:48 UTC] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=304542
Log: Not supporting HTTP authentication using CGI is legacy and so old that its not worth telling the user anymore (Fixes bug #52670	(HTTP authentication with CGI))
 [2010-10-20 09:48 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2010-10-20 09:48 UTC] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 10:02:33 2024 UTC