Using Nginx auth in PHP scripts
B.R.
reallfqq-nginx at yahoo.fr
Wed Feb 27 04:32:35 UTC 2013
Thanks for your great help!
Now I think I got it all.
Well it was non-sense to put fastcgi out of the PHP location anyway... but
I didn't know about the environment problem.
I'll try to think about that next time something I play with Nginx
configuration.
Everything is OK now.
---
*B. R.*
On Tue, Feb 26, 2013 at 4:30 PM, Francis Daly <francis at daoine.org> wrote:
> On Tue, Feb 26, 2013 at 04:23:14PM -0500, B.R. wrote:
>
> Hi there,
>
> > But does the auth_basic
> > module<http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html
> >allows
> > you to load the username in a Nginx variable?
> > From what I understand everything is processed internally.
>
> http://nginx.org/en/docs/http/ngx_http_core_module.html#variables
>
> $remote_user is what you want as the nginx variable, if you are using
> http basic authentication.
>
> f
> --
> Francis Daly francis at daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130226/fb52f933/attachment.html>
More information about the nginx
mailing list