]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/httpd/vhosts.d/nagios.conf
Forgotten the webconf
[people/pmueller/ipfire-2.x.git] / config / httpd / vhosts.d / nagios.conf
CommitLineData
ae882c00
CS
1Listen 1007
2
3<VirtualHost *:1007>
4
128c2589
CS
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
ae882c00 47</VirtualHost>