[pmwiki-users] Complete lack of understand of the password protection of whole site
john at mintra.com
Tue Apr 13 03:59:56 CDT 2010
Thanks the $ did it I must have deleted it when I removed the # (years of computer use makes you go blind, that my story and I am sticking to it)
Thanks for your help
----- Original Message -----
From: "DaveG" <pmwiki at solidgone.com>
To: "mintra" <john at mintra.com>
Cc: pmwiki-users at pmichaud.com
Sent: Monday, 12 April, 2010 5:48:00 PM
Subject: Re: [pmwiki-users] Complete lack of understand of the password protection of whole site
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,
> 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
This message was scanned by ESVA and is believed to be clean.
Click here to report this message as spam.
More information about the pmwiki-users