28 lines
656 B
Plaintext
28 lines
656 B
Plaintext
# $NetBSD: icinga.conf.dist,v 1.1 2013/03/02 04:08:27 ryoon Exp $
|
|
#
|
|
# Icinga configuration file fragment for Apache
|
|
|
|
LoadModule cgid_module lib/httpd/mod_cgid.so
|
|
AddHandler cgi-script .cgi
|
|
|
|
<IfModule mod_alias.c>
|
|
ScriptAlias /icinga/cgi-bin/ "@PREFIX@/libexec/nagios/cgi-bin/"
|
|
Alias /icinga/ "@PREFIX@/share/icinga/"
|
|
</IfModule>
|
|
|
|
<Directory "@PREFIX@/libexec/nagios/cgi-bin/">
|
|
AllowOverride AuthConfig
|
|
order allow,deny
|
|
allow from all
|
|
Require all granted
|
|
Options ExecCGI
|
|
</Directory>
|
|
|
|
|
|
<Directory "@PREFIX@/share/icinga/">
|
|
AllowOverride AuthConfig
|
|
order allow,deny
|
|
allow from all
|
|
Require all granted
|
|
</Directory>
|