Sha256: ef8708b492b5c3ffcb93afcb647676f73801db0305a68f0ea0b45dc66b87e4d6

Contents?: true

Size: 1.87 KB

Versions: 19

Compression:

Stored size: 1.87 KB

Contents

# apache configuration for nagios 3.x
# note to users of nagios 1.x and 2.x:
#	throughout this file are commented out sections which preserve
#	backwards compatibility with bookmarks/config for older nagios versios.
#	simply look for lines following "nagios 1.x:" and "nagios 2.x" comments.

ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
# nagios 1.x:
#ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3
#ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3
# nagios 2.x: 
#ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3
#ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3

# Where the stylesheets (config files) reside
Alias /nagios3/stylesheets /etc/nagios3/stylesheets
# nagios 1.x:
#Alias /nagios/stylesheets /etc/nagios3/stylesheets
# nagios 2.x:
#Alias /nagios2/stylesheets /etc/nagios3/stylesheets

# Where the HTML pages live
Alias /nagios3 /usr/share/nagios3/htdocs
# nagios 2.x: 
#Alias /nagios2 /usr/share/nagios3/htdocs
# nagios 1.x:
#Alias /nagios /usr/share/nagios3/htdocs

<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets)>
	Options FollowSymLinks

	DirectoryIndex index.php index.html

	AllowOverride AuthConfig
	Order Allow,Deny
	Allow From All

	AuthName "Nagios Access"
	AuthType Basic
	AuthUserFile /etc/nagios3/htpasswd.users
	# nagios 1.x:
	#AuthUserFile /etc/nagios/htpasswd.users
	require valid-user
</DirectoryMatch>

# Enable this ScriptAlias if you want to enable the grouplist patch.
# See http://apan.sourceforge.net/download.html for more info
# It allows you to see a clickable list of all hostgroups in the
# left pane of the Nagios web interface
# XXX This is not tested for nagios 2.x use at your own peril
#ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi
# nagios 1.x:
#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
deprec-3.1.0.rc16 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc15 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc13 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc12 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc11 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc10 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc9 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc8 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc7 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc6 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc5 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc4 lib/deprec/templates/nagios/apache2.conf
deprec-3.1.0.rc3 lib/deprec/cap/templates/nagios/apache2.conf
deprec-3.1.0.rc2 lib/deprec/cap/templates/nagios/apache2.conf
deprec-3.1.0.rc1 lib/deprec/cap/templates/nagios/apache2.conf
deprec-2.2.3 lib/deprec/templates/nagios/apache2.conf
deprec-2.2.2 lib/deprec/templates/nagios/apache2.conf
deprec-2.2.1 lib/deprec/templates/nagios/apache2.conf
deprec-2.2.0 lib/deprec/templates/nagios/apache2.conf