Emulate mod_auth_mysql in nginx?

Merlin merlin at mahalo.com
Sat Mar 21 00:45:43 MSK 2009


If what you *really* want is a web interface to manage the users, simply
make (or pay someone to make) a web interface to manage the password files.
Problem solved, no waiting for asynchronous mysql interface.

- Merlin

On Fri, Mar 20, 2009 at 1:23 PM, Floren Munteanu <nginx at yqed.com> wrote:

>
>
> > 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.
> Let me know if there is a similar solution I could use, with all user info
> stored into a MySQL database instead of a file.
>
> Thanks.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090320/4b91c7c9/attachment-0001.html>


More information about the nginx mailing list