Basic HTTP Authentication & PHP-FastCGI

mike mike503 at
Thu Jul 24 13:08:35 MSD 2008

On 7/24/08, Igor Clark <igor at> wrote:

> The original question was "How would I pass the Basic HTTP Authentication
> user & password over to PHP to do the check?"
> Meaning that if nginx was also doing auth, it would be 2 checks, and all
> Philip needed was HTTP_AUTHORIZATION header, as has been stated.
> But sure, in the case you describe, the auth is only done by nginx.

Oh okay. I was just thinking he wanted auth and he wanted to know the
user info if the auth passed.

I guess the original question was a bit lost in my head by the time I
replied. :)

More information about the nginx mailing list