MySQL authentication module?
Sergio Talens-Oliag
sto at iti.upv.es
Mon Jan 19 12:58:42 MSK 2009
El Fri, Jan 16, 2009 at 03:35:43PM -0500, Warwick Poole va escriure:
> 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?
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.
--
Sergio Talens-Oliag <sto at iti.upv.es> <http://www.iti.upv.es/>
Key fingerprint = FF77 A16B 9D09 FC7B 6656 CFAD 261D E19A 578A 36F2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://nginx.org/pipermail/nginx/attachments/20090119/b15fbf8a/attachment.pgp>
More information about the nginx
mailing list