Basic HTTP Authentication & PHP-FastCGI

Igor Sysoev is at rambler-co.ru
Wed Jul 23 21:16:22 MSD 2008


On Wed, Jul 23, 2008 at 10:27:09AM +0100, Phillip B Oldham wrote:

> mike wrote:
> >like PHP_AUTH_USER that Apache gives you and stuff?
> >  
> Yep, just like that.
> >you can do it purely in PHP:
> >http://www.php.net/features.http-auth
> I thought nginx would have to pass the user/pass through to PHP via the 
> fastcgi params?
> 

There is $remote_user variable, but there is no $remote_password.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list