]> git.pld-linux.org Git - packages/nagios.git/blob - nagios-lighttpd.conf
- wtf? revert 1.175. if you don't like it, discuss/report bug first, or build with...
[packages/nagios.git] / nagios-lighttpd.conf
1 # $Id$
2 # NB:
3 # - lighty doesn't support groupfile
4
5 alias.url += (
6         "/nagios/cgi-bin/" => "/usr/lib/nagios/cgi/",
7         "/nagios/docs/" => "/usr/share/doc/nagios/",
8         "/nagios/" => "/usr/share/nagios/",
9 )
10
11 $HTTP["url"] =~ "^/nagios/" {
12         auth.require = (
13                 "/disabled-nagios/" => (
14                         "method"  => "basic",
15                         "realm"   => "Nagios",
16                         "require" => "valid-user"
17                 )
18         )
19
20         auth.backend = "htpasswd"
21 #       auth.backend = "ldap"
22
23         # htpasswd config
24         auth.backend.htpasswd.userfile = "/etc/webapps/nagios/passwd"
25
26         # ldap config
27         auth.backend.ldap.hostname = "localhost"
28         auth.backend.ldap.base-dn  = "ou=People,dc=example,dc=org"
29         auth.backend.ldap.filter   = "(uid=$)"
30 }
This page took 0.021524 seconds and 3 git commands to generate.