htpasswd setup notes

Create htpasswd file to store passwords:
% cd sites/
% htpasswd -c htpasswdfile username
alternately, add a user to an existing file
% htpasswd htpasswdfile username2
Update the apache configuration file, or adjust the .htaccess file if desired.
   <Directory /sites/>
     Options FollowSymLinks MultiViews -Indexes
     order deny,allow
     AllowOverride All
     AuthType Basic
     AuthUserFile /sites/
     AuthName "Please enter user name and password"
     Require valid-user