Using Nginx auth in PHP scripts
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
Everything is OK now.
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
> > you to load the username in a Nginx variable?
> > From what I understand everything is processed internally.
> $remote_user is what you want as the nginx variable, if you are using
> http basic authentication.
> Francis Daly francis at daoine.org
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx