From 122ac988a3d7630b83ba9a37117d3b156f3a713c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Oct 2021 09:11:36 +0200 Subject: [PATCH] nagios4-cgi --- nagios/nagios4-cgi.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 nagios/nagios4-cgi.conf diff --git a/nagios/nagios4-cgi.conf b/nagios/nagios4-cgi.conf new file mode 100644 index 0000000..445bf20 --- /dev/null +++ b/nagios/nagios4-cgi.conf @@ -0,0 +1,28 @@ +ScriptAlias /cgi-bin/nagios4 /usr/lib/cgi-bin/nagios4 +ScriptAlias /nagios4/cgi-bin /usr/lib/cgi-bin/nagios4 + +Alias /nagios4/stylesheets /etc/nagios4/stylesheets + +Alias /nagios4 /usr/share/nagios4/htdocs + + + Options FollowSymLinks + DirectoryIndex index.php index.html + AllowOverride AuthConfig + AuthDigestDomain "nagios4" + AuthDigestProvider file + AuthUserFile "/etc/nagios4/htdigest.users" + AuthGroupFile "/etc/group" + AuthName "Restricted Nagios4 Access" + AuthType Digest + Require valid-user + + + + Options +ExecCGI + + + + Options +ExecCGI + AddHandler cgi-script .cgi +