icinga2/etc/icinga/icinga-classic-apache.conf

42 lines
933 B
Plaintext
Raw Normal View History

2013-10-10 13:22:09 +02:00
# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file. Customize the paths, etc. as
# needed to fit your system.
ScriptAlias /icinga/cgi-bin "/usr/lib64/icinga/cgi"
<Directory "/usr/lib64/icinga/cgi">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Icinga Access"
AuthType Basic
AuthUserFile /etc/icinga/passwd
2013-10-10 13:22:09 +02:00
Require valid-user
</Directory>
Alias /icinga "/usr/share/icinga/"
<Directory "/usr/share/icinga/">
# SSLRequireSSL
Options None
AllowOverride All
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Icinga Access"
AuthType Basic
AuthUserFile /etc/icinga/passwd
2013-10-10 13:22:09 +02:00
Require valid-user
</Directory>