Group of users
1. First individual
Follow the directions for one user only.
2. Alter the .htaccess file
For "AuthGroupFile" now give a full path/name of file ".htgroup",
and alter the "require" line to name a group
(choosing your own group name)
instead of a separate line for each user.
For example:
AuthUserFile /www/courses/4350/2004fall/demo/.htpasswd
AuthGroupFile /www/courses/4350/2004fall/demo/.htgroup
AuthName "Group X messages"
AuthType Basic
<Limit GET>
require group GroupX
</Limit>
4. CREATE .htgroup FILE
This file, named as "AuthGroupFile" above, consists of the group
name, colon, and then all the userID names in that group, e.g.,
GroupX: anne beth cathy dana
Each of these users has an individual password, as per step 2.
2. Other individuals
As when making more users,
use htpasswd to add more userID names and their passwords.