blob: d51225599a52a6053c5abcb448f35ea2088b139a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
server.modules += ("mod_cgi")
server.modules += ("mod_auth")
auth.require = ( "/nagios" =>
(
"method" => "digest",
"realm" => "nagios",
"require" => "valid-user",
)
)
$HTTP["url"] =~ "^/nagios/cgi-bin/" {
dir-listing.activate = "disable"
cgi.assign = (
".pl" => "/usr/bin/perl",
".cgi" => ""
)
}
alias.url += (
"/nagios/cgi-bin" => "/usr/nagios/sbin",
"/nagios" => "/usr/nagios/share"
)
|