I Use SuSE Linux 8.0, with apache 1.3.23 , I installed software nagios and I
inside placed of the directory /sbin, one /htaccess, restricting access webs
in this place, it delivers the screen of login and password, I place the
user and password and I do not obtain authentication.
in annex it goes the information that I placed in the configuration
archives.
.htaccess
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
htpasswd.users
user:BhGtr8K9hyt4
httpd.conf
<Directory />
AuthUserFile /usr/local/nagios/etc/htpasswd.users
AuthGroupFile /usr/local/nagios/etc/htpgroup
Options -FollowSymLinks +Multiviews
AllowOverride None
</Directory>
# NAGIOS
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/