nagios-business-process-addon/debian/bp-addon.conf

17 lines
560 B
Plaintext

ScriptAlias /cgi-bin/bp-addon /usr/lib/cgi-bin/bp-addon
Alias /bp-addon/stylesheets /etc/nagios-plugins/bp-addon/stylesheets
Alias /bp-addon /usr/share/bp-addon/htdocs
RedirectMatch ^/bp-addon/?$ /cgi-bin/bp-addon/nagios-bp.cgi
<DirectoryMatch "^(?:/usr/share/bp-addon/htdocs|/usr/lib/cgi-bin/bp-addon|/etc/nagios-plugins/bp-addon/stylesheets)/">
AuthName "Icinga Access"
#AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/icinga/htpasswd.users
#AuthUserFile /etc/nagios3/htpasswd.users
Require valid-user
</DirectoryMatch>