]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - config/nagiosql/nagios.conf
media.cgi: htmlcleanup, change <B> tag to <b>, and fix attribute quotation
[people/teissler/ipfire-2.x.git] / config / nagiosql / nagios.conf
CommitLineData
7a10cdee
PP
1Listen 1008
2
3<VirtualHost *:1008>
4
5# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
6# Last Modified: 11-26-2005
7#
8# This file contains examples of entries that need
9# to be incorporated into your Apache web server
10# configuration file. Customize the paths, etc. as
11# needed to fit your system.
12
13ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin"
14
15<Directory "/usr/share/nagios/cgi-bin">
16# SSLRequireSSL
17 Options ExecCGI
18 AllowOverride None
19 Order allow,deny
20 Allow from all
21# Order deny,allow
22# Deny from all
23# Allow from 127.0.0.1
24 AuthName "Nagios Access"
25 AuthType Basic
26 AuthUserFile /etc/nagios/htpasswd.users
27 Require valid-user
28</Directory>
29
30Alias /nagios "/usr/share/nagios"
31
32<Directory "/usr/share/nagios">
33# SSLRequireSSL
34 Options None
35 AllowOverride None
36 Order allow,deny
37 Allow from all
38# Order deny,allow
39# Deny from all
40# Allow from 127.0.0.1
41 AuthName "Nagios Access"
42 AuthType Basic
43 AuthUserFile /etc/nagios/htpasswd.users
44 Require valid-user
45</Directory>
46
47Alias /nagiosql "/usr/share/nagiosql"
48
49<Directory "/usr/share/nagiosql">
50 include /etc/httpd/conf/conf.d/php*.conf
51 Options None
52 AllowOverride None
53 Order allow,deny
54 Allow from all
55</Directory>
56
57</VirtualHost>