]>
Commit | Line | Data |
---|---|---|
82f3b853 | 1 | # $Id$ |
2 | # NB: | |
3 | # - lighty doesn't support groupfile | |
4 | # - lighty doesn't support Apache's $apr1$ passwords | |
5 | ||
6 | alias.url += ( | |
7 | "/nagios/cgi-bin/" => "/usr/lib/nagios/cgi/", | |
8 | "/nagios" => "/usr/share/nagios", | |
9 | ) | |
10 | ||
fa78054f | 11 | $HTTP["url"] =~ "^/nagios/" { |
82f3b853 | 12 | auth.backend = "htpasswd" |
13 | auth.backend.htpasswd.userfile = "/etc/webapps/nagios/passwd" | |
14 | } | |
15 | ||
16 | auth.require = ( | |
fa78054f | 17 | "/nagios/" => ( |
82f3b853 | 18 | "method" => "basic", |
19 | "realm" => "Nagios", | |
20 | "require" => "valid-user" | |
21 | ) | |
22 | ) |