ServerName localhost
DocumentRoot /usr/local/nagios/share/
ScriptAlias /cgi-bin/ /usr/local/nagios/sbin/
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
Options +ExecCGI
Options FollowSymLinks
DirectoryIndex index.php index.html
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user