Sets the value of authgroupfile property. AuthGroupFile a file containing names of the groups and usernames belonging to the group. You must give full path to the group file in order for it to work.
Parameter
string $file - absolute pathname to the group file.
<?php require_once('File_HtAccess.php'); /* set the group file to /etc/htgroup */ $fh = new File_HtAccess('.htaccess'); $fh->load(); $fh->setAuthGroupFile('/etc/htgroup'); $fh->save(); ?>
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?