[Moin-user] Username from Apache to MoinMoin
Raphael Walker
web at busino.ch
Thu Mar 22 06:12:47 EDT 2012
Hello,
I set up a new wiki with MoinMoin 1.9. and I use `GivenAuth` and Apache
`Basic Authentication` to control the access of the wiki. (see config below)
The wiki is accessible via SSL only.
Instead of the name the Wiki gets a number as username.
Some ideas how to fix that?
Raphael
------------- Config ------------
wikiconfig.py
class Config(multiconfig.DefaultConfig):
from MoinMoin.auth import GivenAuth
auth = [GivenAuth(autocreate=True)]
apache.conf
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
.....
### moin
ScriptAlias /mywiki "/usr/share/moin/mywiki/moin.cgi"
alias /moin_static192 "/usr/share/moin/htdocs"
<Directory /usr/share/moin/htdocs>
AllowOverride None
AuthType Basic
AuthName "Mywiki users only"
AuthUserFile /opt/passwords
AuthGroupFile /opt/groups
Require group mywiki
Order allow,deny
Allow from all
</Directory>
....
More information about the Moin-user
mailing list