1
# apache configuration for nagios 3.x
2
# note to users of nagios 1.x and 2.x:
3
# throughout this file are commented out sections which preserve
4
# backwards compatibility with bookmarks/config forolder nagios versios.
5
# simply look for lines following "nagios 1.x:" and "nagios 2.x" comments.
7
ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
8
ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
10
#ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3
11
#ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3
13
#ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3
14
#ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3
16
# Where the stylesheets (config files) reside
17
Alias /nagios3/stylesheets /etc/nagios3/stylesheets
19
#Alias /nagios/stylesheets /etc/nagios3/stylesheets
21
#Alias /nagios2/stylesheets /etc/nagios3/stylesheets
23
# Where the HTML pages live
24
Alias /nagios3 /usr/share/nagios3/htdocs
26
#Alias /nagios2 /usr/share/nagios3/htdocs
28
#Alias /nagios /usr/share/nagios3/htdocs
30
<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3)>
31
Options FollowSymLinks
33
DirectoryIndex index.html
35
AllowOverride AuthConfig
39
AuthName "Nagios Access"
41
AuthUserFile /etc/nagios3/htpasswd.users
43
#AuthUserFile /etc/nagios/htpasswd.users
47
# Enable this ScriptAlias if you want to enable the grouplist patch.
48
# See http://apan.sourceforge.net/download.html for more info
49
# It allows you to see a clickable list of all hostgroups in the
50
# left pane of the Nagios web interface
51
# XXX This is not tested for nagios 2.x use at your own peril
52
#ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi
54
#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi