Hi 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" <[email protected]> To: "mintra" <[email protected]> Cc: [email protected] 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, 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 -- This message was scanned by ESVA and is believed to be clean. Click here to report this message as spam. http://esva.mintra.net/cgi-bin/learn-msg.cgi?id=098CE289D0.65912 _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
