Emulate mod_auth_mysql in nginx?

Manlio Perillo manlio_perillo at libero.it
Mon Mar 16 13:55:28 MSK 2009


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.


Regards  Manlio





More information about the nginx mailing list