Emulate mod_auth_mysql in nginx?

Igor Sysoev is at rambler-co.ru
Mon Mar 16 14:05:13 MSK 2009


On Mon, Mar 16, 2009 at 11:55:28AM +0100, Manlio Perillo wrote:

> Barry Abrahamson ha scritto:
> >
> >On Mar 13, 2009, at 2:00 PM, Floren Munteanu wrote:
> >
> >>Hi,
> >>
> >>I was wondering if we could emulate mod_auth_mysql in nginx?
> >>
> >[...]
> >
> >Try this nginx module:
> >
> >http://code.svn.wordpress.org/nginx_auth_mysql/
> >
> 
> This will ruin Nginx performances.
> 
> If you really want to use a database as a backend, you should use 
> PostgreSQL, since libpq offer an async interface; and you should use a 
> stored procedure for the authentication.

Yes, you right. However, I have almost ready async mysql interface for nginx,
that can be used here.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list