remote_user and remote_password for custom http authentication?
Jed Schmidt
tr at nslator.jp
Sun Oct 14 19:10:22 MSD 2007
Igor,
It would be awesome if you could add that, unless there is a way to
access it already. Is there some header, for example, from which I can
access it already?
Jed
On 10/14/07, Igor Sysoev <is at rambler-co.ru> wrote:
> On Sun, Oct 14, 2007 at 02:53:13PM +0800, Jed Schmidt wrote:
>
> > Can anyone out there tell me whether it would be possible to access
> > the remote user name and password ($user and $password in
> > http://$user:$password@domain.com/) so that I can roll my own basic
> > HTTP authentication?
> >
> > It seems to me that remote_user is only available when the Auth Basic
> > module is enabled, but am I missing something?
>
> No, The $remote_user variable is available without ngx_http_auth_basic_module,
> however, currently there is no $remote_password variable, althogh, it could
> be easy added.
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>
More information about the nginx
mailing list