<Directory "/www/web/awstats">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /www/web/awstats/htpasswd
Require valid-user
</Directory>
htpasswd -c /www/web/awstats/htpasswd test