Emulate mod_auth_mysql in nginx?
Manlio Perillo
manlio_perillo at libero.it
Sun Mar 22 02:24:49 MSK 2009
Floren Munteanu ha scritto:
>
>> Written from scratch, implementing the MySQL wire protocol?
>>
>> By the way, after having implemented a pure PostgreSQL client in
>> Python,
>> I tried to do the same with MySQL; but protocol design is very bad,
>> compared to PostgreSQL, so I gave up; it does not make sense to waste
>> time with MySQL, IMHO
>
> My goal is to store into a database table the username/password for a
> directory.
> Then, to have a htaccess like popup show when someone will reach that
> directory.
>
> Right now I can do it easy with a htpasswd file, in nginx.
> But I think it is much more convenient to have a web interface where you can
> manage the users, etc.
You can write a web interface for htpasswd file, too.
And if you have a lot of users, maybe a more efficient solution is to
use a dbm database.
> [...]
Regards Manlio
More information about the nginx
mailing list