Änderungen

Wechseln zu: Navigation, Suche

NLPedia:Einstellungen

2 Byte entfernt, 09:55, 2. Apr. 2006
/* Access Restriction to wiki */
Add the following lines in LocalSettings.php after this line: require_once( "includes/DefaultSettings.php" ); Result of the configuration will be: users cannot create their own account and cannot read/edit documents without logging in to the system.
<nowiki> 
$wgGroupPermissions[’*’ ][’createaccount’] = false; <br>
$wgGroupPermissions[’*’ ][’edit’] = false; <br>
<nowiki>$wgWhitelistRead = array( "Special:Userlogin" ); </nowiki><br>
$wgGroupPermissions[’*’ ][’read’] = false; <br>
</nowiki>#
To allow browsing only from particular ip address (e.g. office lan only) insert the following lines to .htaccess file:
allow from "Office LAN IP" <br>
</Limit> <br>
 
== Eliminating index.php from url ==