15 messages in ru.sysoev.nginxRe: Emulate mod_auth_mysql in nginx?
FromSent OnAttachments
Floren MunteanuMar 13, 2009 11:59 am 
Barry AbrahamsonMar 16, 2009 12:52 am 
Manlio PerilloMar 16, 2009 3:55 am 
Igor SysoevMar 16, 2009 4:04 am 
Manlio PerilloMar 16, 2009 5:18 am 
Igor SysoevMar 16, 2009 5:26 am 
mikeMar 16, 2009 9:30 am 
Floren MunteanuMar 16, 2009 3:26 pm 
Floren MunteanuMar 20, 2009 1:22 pm 
MerlinMar 20, 2009 2:45 pm 
Floren MunteanuMar 21, 2009 3:55 am 
Josh TurmelMar 21, 2009 8:16 am 
Manlio PerilloMar 21, 2009 4:24 pm 
MerlinMar 21, 2009 11:44 pm 
bardJul 27, 2009 9:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Emulate mod_auth_mysql in nginx?Actions...
From:Manlio Perillo (manl@libero.it)
Date:Mar 21, 2009 4:24:26 pm
List:ru.sysoev.nginx

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