[pmwiki-users] How can I read password protect all pages in a group except the HomePage?

H. Fox haganfox at users.sourceforge.net
Mon Nov 6 00:19:26 CST 2006


> How can I read password protect all pages in a group except the HomePage?

Here's one way:

First, set a read password for the group using a GroupName.php that
looks like this:

   <?php if (!defined('PmWiki')) exit();
   $DefaultPasswords['read'] = crypt('your_secret_password');

Then set a password of @nopass on the group's HomePage using ?action=attr .

Hagan




More information about the pmwiki-users mailing list