> from MoinMoin.auth.http import HTTPAuth > class Config(DefaultConfig): > auth = [HTTPAuth(autocreate=True)] > ... > > but it didn't work. It just says, "You are not allowed to visit this > page" and makes no attempt to authenticate.
This is a misunderstanding. HTTPAuth is not made to DO http authentication itself, but to USE some http auth done by the web server (e.g. apache with htpasswd). > So I am at an utter loss. Any suggestions on how to proceed would be > much appreciated. (BTW, what I'm actually trying to do is hook up to > a user table stored in a MySQL database.) You can do 2 things: a) make mysql auth work on apache level and reuse it like HTTPAuth does b) do mysql auth on the moin level by using some mysql auth plugin (look at how ldap auth works) There is some auth.mysql_group code in moin that checks against mysql group db. > I'm using version 1.8.0. 1.8.1 is out and has some bug fixes (not for auth iirc, but for some other stuff). ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user