[pmwiki-users] Complete lack of understand of the password protection of whole site
DaveG
pmwiki at solidgone.com
Mon Apr 12 11:48:00 CDT 2010
On 4/12/2010 11:44 AM, mintra wrote:
> All I want at this stage is to password protect the whole site.
Do you want to password protect for all users, even for viewing (ie,
even read)?
> In my local/config.php file I put various versions of
>
> DefaultPasswords['admin'] = crypt('mypassword');
> DefaultPasswords['edit'] = crypt('mypassword');
> DefaultPasswords['read'] = crypt('mypassword');
> DefaultPasswords['attr'] = crypt('mypassword');
That should read $DefaultPasswords (with the $ sign prefix), and should
be towards the start of config.php.
> All I get is a blank screen when these are in place.
I presume then you do not get the login prompt? What happens if you put
?action=edit at the end of the url? Do you see the same thing?
Also check that the same behavior happens on other pages. Perhaps you
have permissions for the page/group specified fom action=attr.
~ ~ Dave
More information about the pmwiki-users
mailing list