ID:               35752
 Updated by:       [EMAIL PROTECTED]
 Reported By:      fcu-phpbugs at no-way dot org
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: All
 PHP Version:      4.4.2RC1
 New Comment:

Also this behaviour is seen in PHP 5.1.1 run under FastCGI.


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

[2005-12-20 22:28:30] fcu-phpbugs at no-way dot org

Description:
------------
When using Apache's Basic Auth together with php in FastCGI Mode, the
credentials of the User do not get passed to the PHP Script.

When I configure FastCGI to pass the Authentication Headers
(-pass-header Authorization), these get passed to the script, but they
are ignored by PHP.

This is because in cgi_main.c only the Env-Var "HTTP_AUTHORIZATION"
gets checked and not "Authorization" which seems to be the correct
Header value (at least with apache2).

All the apache Handler correctly use that header to set the
Authentication Env-Vars.

Could the cgi handler also check for that header?



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


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

Reply via email to