First was to tweak /etc/apache2/apache2.conf (see this previous post for more information:
<Directory /var/www/>
AuthType Basic
AuthName "Casey Web"
AuthUserFile /etc/apache2/basicauth
Require valid-user
</Directory>
Second, I tweaked mediawiki to not allow anonymous access to any page by editing /var/lib/mediawiki1.7/LocalSettings.php. I changed the following line:
$wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help");
to:
$wgWhitelistRead = array ("Special:Userlogin");
No comments:
Post a Comment