~ubuntu-branches/ubuntu/intrepid/nagios3/intrepid-security

« back to all changes in this revision

Viewing changes to debian/apache2.conf

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2008-04-08 20:39:11 UTC
  • Revision ID: james.westby@ubuntu.com-20080408203911-urwlvtfpv0k6vpep
Tags: 3.0.1-1
* New upstream version (Closes: #475041)
* Move cfg_dir=/etc/nagios3/conf.d to the end of nagios.cfg to
  allow overwriting variables from nagios.cfg in conf.đ/
* Disable external_commands in nagios.cfg as they are now enabled by 
  default

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 forolder nagios versios.
 
5
#       simply look for lines following "nagios 1.x:" and "nagios 2.x" comments.
 
6
 
 
7
ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
 
8
ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
 
9
# nagios 1.x:
 
10
#ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3
 
11
#ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3
 
12
# nagios 2.x: 
 
13
#ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3
 
14
#ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3
 
15
 
 
16
# Where the stylesheets (config files) reside
 
17
Alias /nagios3/stylesheets /etc/nagios3/stylesheets
 
18
# nagios 1.x:
 
19
#Alias /nagios/stylesheets /etc/nagios3/stylesheets
 
20
# nagios 2.x:
 
21
#Alias /nagios2/stylesheets /etc/nagios3/stylesheets
 
22
 
 
23
# Where the HTML pages live
 
24
Alias /nagios3 /usr/share/nagios3/htdocs
 
25
# nagios 2.x: 
 
26
#Alias /nagios2 /usr/share/nagios3/htdocs
 
27
# nagios 1.x:
 
28
#Alias /nagios /usr/share/nagios3/htdocs
 
29
 
 
30
<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3)>
 
31
        Options FollowSymLinks
 
32
 
 
33
        DirectoryIndex index.html
 
34
 
 
35
        AllowOverride AuthConfig
 
36
        Order Allow,Deny
 
37
        Allow From All
 
38
 
 
39
        AuthName "Nagios Access"
 
40
        AuthType Basic
 
41
        AuthUserFile /etc/nagios3/htpasswd.users
 
42
        # nagios 1.x:
 
43
        #AuthUserFile /etc/nagios/htpasswd.users
 
44
        require valid-user
 
45
</DirectoryMatch>
 
46
 
 
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
 
53
# nagios 1.x:
 
54
#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi
 
55