Forum: NGINX MySQL authentication module?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Warwick Poole (Guest)
on 2009-01-16 22:46
(Received via mailing list)
Hi

Apologies if this has been asked before, the list archive search seems
to be
down right now.

Does anyone know of any development which has been done on an nginx
equivalent of the mod_auth_mysql Apache module?
Essentially a module which provides HTTP Authentication using a MySQL
database backend.

Can't seem to find any existing projects. Am I missing any?

Thanks.
WP
Sergio Talens-Oliag (Guest)
on 2009-01-19 12:11
(Received via mailing list)
El Fri, Jan 16, 2009 at 03:35:43PM -0500, Warwick Poole va escriure:
> Can't seem to find any existing projects. Am I missing any?
If you use a Linux system I did a module to support PAM for HTTP
Authentication on nginx, it is available on:

  http://web.iti.upv.es/~sto/nginx

It works with the stable nginx version and needs small changes for the
0.7.x
series (I plan to upgrade the code once 0.7.x is declared stable).

With that module you can use any authentication system supported by PAM,
in
your case I would use pam-mysql (http://pam-mysql.sourceforge.net/) to
authenticate against a MySQL database.

Hope it helps,

  Sergio.
This topic is locked and can not be replied to.