diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
commit | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch) | |
tree | 5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /net-analyzer/nagios-core/files/lighttpd_nagios4-r1.conf | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'net-analyzer/nagios-core/files/lighttpd_nagios4-r1.conf')
-rw-r--r-- | net-analyzer/nagios-core/files/lighttpd_nagios4-r1.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/nagios-core/files/lighttpd_nagios4-r1.conf b/net-analyzer/nagios-core/files/lighttpd_nagios4-r1.conf new file mode 100644 index 000000000000..2653922ddc93 --- /dev/null +++ b/net-analyzer/nagios-core/files/lighttpd_nagios4-r1.conf @@ -0,0 +1,15 @@ +server.modules += ("mod_cgi") +server.modules += ("mod_alias") + +$HTTP["url"] =~ "^/nagios/cgi-bin/" { + dir-listing.activate = "disable" + cgi.assign = ( + ".pl" => "/usr/bin/perl", + ".cgi" => "" + ) +} + +alias.url += ( + "/nagios/cgi-bin" => "@CGIBINDIR@", + "/nagios" => "@WEBDIR@" +) |