[Moin-user] Problem with GivenAuth configuration, through Apache digest?
fero14041 at gmail.com
Tue Nov 6 15:13:31 EST 2012
Trying to use Apache authentication to log users to a fresh
installed instance of MoinMoin, I did not succeed, probably
due to a misunderstood configuration. Could you help me, please,
found my mistakes?
For a little newbeeing French non-profit organization, dedicated to
people without employment and searching for, I try to afford some
useful services to help our work, specially on the Web.
And an instance of a MoinMoin's wiki could help us in many ways.
As there could be other services provided by the server,
such as Mercurial's repositories, an instance of Trac, etc.
I'd like the users to log themselves to each with same shared account
across them (one per user), ideally managed by Apache's digest authentication.
MoinMoin's doc clearly points how this could be possible,
with ``GivenAuth`` authentication method.
This seems to not be sufficient::
auth = [GivenAuth(autocreate=True)], MoinAuth()]
auth_methods_trusted = ['given']
[Problem and tries]
I did not succeed in letting Apache give
authentication to MoinMoin. I tried:
- different installs (with packages provided by server's distribution,
or from source);
- carefully reading the documentation (many times, perhaps not enough ?-);
- testing different configuration variants;
- searching for similar report in bugs and mailing list archives
(Google Groups) or
- through the web (found few:
So I highly suspected remaining problem simply occurs in a bad configuration.
This server runs on Debian Squeeze (up to date),
web pages are served by Apache (2.2.16-6+squeeze8), mod_wsgi (3.3-2)
and Python 2.6.6
In order to give you most informations,
configuration template files used are provided at:
and specially ``etc/wikiconfig.py`` for Moin instance config.,
and ``etc/httpd.conf`` for Apache's one.
I also put two instances of Moin from different version, and same config,
one at version 1.9.4 provided by Debian package (in current Squeeze backports),
and the other in a dedicated virtualenv with latest stable release 1.9.5.:
For each instance, there are:
- following users and groups:
- one superuser (``fero14041admin``),
- one ``AdminGroup`` with one admin user (``admin``, password like login),
- one ``TestGroup`` with two regular users (``user`` (pwd id.) and
- all default rights are defined in config by::
acl_rights_default = (u"AdminGroup:read,write,delete,revert "
- a theme derived from `modernized`, putting in page's header an additional
link to ``login`` page and requiring Apache authentication.
Finally, those instances' logs, and specially that related to login,
are readable at:
So, I would appreciate any help your could provide, to understand
what I am doing wrong ^^;) (or if it's a bug and requires a report)...
and of course share with my users all the power of MoinMoin!
And thank you for reading this long message.
PS: Please excuse strange wordings and/or phrasings, as English is not
my mother language.
More information about the Moin-user