user authentication with nginx

Bob Stanton farseas at gmail.com
Mon Aug 20 12:33:28 UTC 2012


How else would you do it?

I don't want to use basic_auth because I want to be able to style my own
form.



On Mon, Aug 20, 2012 at 7:06 AM, Javi Lavandeira <javi at lavandeira.net>wrote:

> Make your CGI/PHP/Python/Perl script return a "Status: xxx" header.
>
> I'm curious, why do you need to do it this way?
>
>
> --
> Javi Lavandeira
>
> *Twitter*: @javilm
> *Blog*: http://www.lavandeira.net/blog
>
> On 2012/08/20, at 19:42, Bob Stanton <farseas at gmail.com> wrote:
>
> Sorry for my lack of precision.  I know how to do all the below, I just
> don't know how to tell nginx whether or not user authentication was
> successful.
>
> On Mon, Aug 20, 2012 at 12:45 AM, Javi Lavandeira <javi at lavandeira.net>wrote:
>
>> Hello,
>>
>> On 2012/08/20, at 6:32, Bob Stanton <farseas at gmail.com> wrote:
>>
>> I specifically want to supply my own form, get the username and PW, check
>> it against my DB with a CGI program, and then pass values back to Nginx.
>>
>>
>> Do you mean that you want to know how to create an HTML form, pass the
>> parameters to a CGI, and then return an HTML output to the user?
>>
>> Regards,
>>
>> --
>> Javi Lavandeira
>>
>> *Twitter*: @javilm
>> *Blog*: http://www.lavandeira.net/blog
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
> _______________________________________________
> 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/20120820/85f1ca47/attachment.html>


More information about the nginx mailing list