From 128c25897671f7a000b5d6caea65a78fcb39d9b4 Mon Sep 17 00:00:00 2001 From: maniacikarus Date: Sat, 14 Mar 2009 15:06:33 +0100 Subject: [PATCH] Forgotten the webconf --- config/httpd/vhosts.d/nagios.conf | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/config/httpd/vhosts.d/nagios.conf b/config/httpd/vhosts.d/nagios.conf index 4a8f1fe15a..73a4bd0766 100644 --- a/config/httpd/vhosts.d/nagios.conf +++ b/config/httpd/vhosts.d/nagios.conf @@ -2,4 +2,46 @@ Listen 1007 +# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER +# Last Modified: 11-26-2005 +# +# This file contains examples of entries that need +# to be incorporated into your Apache web server +# configuration file. Customize the paths, etc. as +# needed to fit your system. + +ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin" + + +# SSLRequireSSL + Options ExecCGI + AllowOverride None + Order allow,deny + Allow from all +# Order deny,allow +# Deny from all +# Allow from 127.0.0.1 + AuthName "Nagios Access" + AuthType Basic + AuthUserFile /etc/nagios/htpasswd.users + Require valid-user + + +Alias /nagios "/usr/share/nagios" + + +# SSLRequireSSL + Options None + AllowOverride None + Order allow,deny + Allow from all +# Order deny,allow +# Deny from all +# Allow from 127.0.0.1 + AuthName "Nagios Access" + AuthType Basic + AuthUserFile /etc/nagios/htpasswd.users + Require valid-user + + -- 2.39.2