Thank you to Peter and Dan for their replies. After reading Peter's response, I started looking at Apache's documentation and got things working. As I was about to respond to the list server, I noticed Dan's response which basically confirmed my approach. Here goes:<div>
<br></div><div>Step 1: Created an apache username:</div><div><br></div><div>htpasswd -c /etc/apache2/passwords smokeping</div><div><br></div><div>Step 2: Modified the smokeping config file.../etc/apache2/conf.d/smokeping</div>
<div><div><br></div><div><div>ScriptAlias /smokeping/smokeping.cgi /usr/share/smokeping/cgi-bin/smokeping.cgi</div><div>Alias /smokeping /usr/share/smokeping/www</div><div><br></div><div><Directory "/usr/share/smokeping/www"></div>
<div> Options FollowSymLinks</div><div> AllowOverride AuthConfig</div><div> AuthType Basic</div><div> AuthName "Restricted Files"</div><div> AuthUserFile /etc/apache2/passwords</div><div> Require user cacti</div>
<div></Directory></div></div><div><br></div><div>I changed AuthName from "Require Password" to "Restricted Files".</div></div><div><br></div><div>Step 3 Placed an .htaccess file in the root of smokeping's home directory. I started with placing it in /usr/share/smokeping/www and cgi-bin, but ended up placing it at the parent level.</div>
<div><br></div><div><div>AuthType Basic</div><div>AuthName "Restricted Files"</div><div>AuthUserFile /etc/apache2/passwords</div><div>Require user smokeping</div></div><div><br></div><div>I restarted Apache and smokeping and I am now prompted for a username/password. Only the smokeping user gets in. If I click on the "Cancel" button on the logon window, I am then met with an Failed Authorization window whereas when AuthName was "Require Password", I would be taken to the smokeping webpage.</div>
<div><br></div><div>Thanks for the help...</div><div><br></div><div>mgd</div>