[Moin-user] UserPreferences / Access Control

Thomas Waldmann tw-public at gmx.de
Mon Dec 1 08:21:08 EST 2003


> I've just updated MoinMoin 1.1 from Revision 1.173 to 1.178 on SuSE Linux
> 8.2 (Apache 2.xx) and want to protect it from external access. But when I
> add the follwing lines to the httpd.conf :
> 
> ScriptAlias /test_wiki     "/home/httpd/test_wiki/moin.cgi"
> <Directory "/home/httpd/test_wiki">
>     Order deny,allow
>     Allow from all
> 
>     AuthName "Test-Wiki"
>     AuthType Basic
>     AuthGroupFile /home/httpd/httpd.groups
>     AuthUserFile /home/httpd/httpd.users
>     require user test
> </Directory>

That should be rather "require valid user" or similar, so that all users 
(or all of a certain group) can login.

> MoinMoin doesn't remember my User-Login.
> The Moin-Account ist properly created and the cookie saved by the browser
> (Netscape FireBird and IE6).
> But: the cookie-information is not read by MoinMoin.

Strange. But maybe there is something wrong. A user "test" should not 
get accepted by a moin with ACLs switched on. IIRC, it requires you to 
enter a CamelCase WikiName as username (and also password and email).

So maybe try with "TestUser" (both in httpd.users and MoinMoin account 
data).

If it doesnt work, modify your config to know "TestUser" so we can try 
from externally - or meet us on IRC for debugging ;)






More information about the Moin-user mailing list