Welcome! Log In Create A New Profile

Advanced

Re: Using Nginx auth in PHP scripts

All files from this thread

File Name File Size   Posted by Date  
smime.p7s 6 KB open | download GreenGecko 02/26/2013 Read message
smime.p7s 6 KB open | download GreenGecko 02/26/2013 Read message
B.R.
February 26, 2013 11:40PM
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@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@daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Using Nginx auth in PHP scripts

B.R. February 26, 2013 04:00PM

Re: Using Nginx auth in PHP scripts Attachments

GreenGecko February 26, 2013 04:16PM

Re: Using Nginx auth in PHP scripts

B.R. February 26, 2013 04:26PM

Re: Using Nginx auth in PHP scripts

Francis Daly February 26, 2013 04:32PM

Re: Using Nginx auth in PHP scripts

B.R. February 26, 2013 11:40PM

Re: Using Nginx auth in PHP scripts Attachments

GreenGecko February 26, 2013 04:32PM

Re: Using Nginx auth in PHP scripts

B.R. February 26, 2013 05:28PM

Re: Using Nginx auth in PHP scripts

Francis Daly February 26, 2013 05:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready