Katharina Wolkwitz wolkwitz@fh-swf.de wrote:
Helmut Schneider schrieb:
Helmut Schneider jumper99@gmx.de wrote:
I'm using the LDAP extension to control access which works fine. I would like anonymous users to be able to see specific sites. From the web I found the following snippets:
# This snippet prevents new registrations from anonymous users # (Sysops can still create user accounts) $wgGroupPermissions['*']['createaccount'] = false;
# This snippet prevents editing from anonymous users $wgGroupPermissions['*']['edit'] = false;
# Enable anonymous access to specific pages $wgWhitelistRead = array( "Main Page", "Special:Userlogin", "Help:Contents", "-", "MediaWiki:Monobook.css" ); $wgWhitelistRead = array( "Hauptseite", "Spezial:Userlogin", "-", "MediaWiki:Monobook.css" ); $wgGroupPermissions['*']['read'] = false;
Unfortunately this doesn't work, the pages above still require a valid login.
What do I have to set?
Dump noob question? RTFM? Should work as posted? Any reply is welcome...
perhaps the problem lies with the double definition of $wgWhitelistRead. Try to use just one definition with just one array.
<SIC> Live can be sooo easy...
Thanks a lot, works now.
Helmut