[pmwiki-users] htpasswdform and .htgroups

noskule noskule at gmx.net
Wed Dec 19 11:42:14 CST 2007


hi list
I installed the htpasswdform script. But I have two problem. First, The script writes in the .htpasswd file but not in the .htgroup file. If I mannualy write "group:user1 user2" in the .htgroup file it works like ecepted.
Second thing is that I can't access the admin form even if i logged in as admin.

Below my configuration. Does anyone see what's the problem?
thank's for any hints.

config.php ------------------------
$AuthUser['Admin'] = '$1$4H8CQ3sz$mjemjvl3LOmI7sGnGCHVP1';
$DefaultPasswords['read'] = '@Readers';
$DefaultPasswords['edit'] = '@Autors';
$DefaultPasswords['attr'] = 'id:Admin';
$DefaultPasswords['admin'] = 'id:Admin';
$AuthUser['htpasswd'] = 'local/.htpasswd';
$AuthUser['htgroup'] = 'local/.htgroup';
include_once("$FarmD/scripts/authuser.php");

Site.HtpasswdForm.php ------------------------
<?php if (!defined('PmWiki')) exit();
$EnableHtpassword = 1;
$EnableHtgroup = 1;
$HtpasswordNewUsers = 1;
$HtpasswordAutoLogin = 1;
$HtpasswordDefaultGroup = '@Readers';
// include_once("$FarmD/cookbook/htpasswdform.php");
include_once("$FarmD/cookbook/htpasswdform_improved.php");

grz nos

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



More information about the pmwiki-users mailing list