I used the following configuration parameters on LocalSettings.php but I
still could read docs without logging in.
Me media wiki info:
dpkg -l mediawiki
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
ii mediawiki 1:1.10 website engine for
collaborative work
Any idea?
On Thu, May 15, 2008 at 9:54 PM, Lane, Ryan <Ryan.Lane(a)ocean.navo.navy.mil>
wrote:
Is it possible
to set each user to authenticate first before
viewing and
editing pages instead of authenticating before editing pages?
I don't want
to use htaccess at this moment if mediawiki has this feature.
I'm using
mediawiki-1.10 with AD/LDAP authentication.
// Don't allow anyone except for logged in users to edit
$wgGroupPermissions['*']['edit'] = false;
// Don't allow anyone except for logged in users to view
$wgGroupPermissions['*']['read'] = false;
// Pages anonymous (not-logged-in) users may see
$wgWhitelistRead = array( "Main Page", "Special:Userlogin",
"-",
"MediaWiki:Monobook.css" );
Notice you'll also want to use img_auth.php for your images:
$wgUploadPath = "$wgScriptPath/img_auth.php";
And in apache:
<Location "/w/images">
Order Allow,Deny
Deny from all
# any other security features you need
</Location>
V/r,
Ryan Lane
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l