[Moin-user] HTTPAuth again

Roger Marquis marquis at roble.com
Sun Feb 1 23:00:43 EST 2009

On Mon, 2 Feb 2009, R.Bauer wrote:
>> 2009-01-31 22:52:30,146 MoinMoin.session DEBUG session started for user <MoinMoin.user.User at 0xc1b128 name:u'apacheauthuser' valid:1>
>> 2009-01-31 22:52:30,147 MoinMoin.session DEBUG after auth: no valid user, no anon session
> do you have looked into the wiki/config/more_samples and have used the
> http_auth example for configuration?

Didn't find anything under more_samples except what's in the docs:

     from MoinMoin.auth.http import HTTPAuth
     auth = [HTTPAuth(autocreate=True)]

but as you can see from the logs, authentication is working for all but
write operations.  At that point it doesn't appear to consult the
cookie/session data and assumes the session is anonymous.

Also tried allowing write access to all and allowing write access to
anonymous in wikiconfig.py, deleting the browser's session cookie, deleting
data/user/*... to no effect.


More information about the Moin-user mailing list