]> git.pld-linux.org Git - packages/nagios.git/blame_incremental - nagios-lighttpd.conf
- no need for g+s in config dirs
[packages/nagios.git] / nagios-lighttpd.conf
... / ...
CommitLineData
1# $Id$
2# NB:
3# - lighty doesn't support groupfile
4
5alias.url += (
6 "/nagios/cgi-bin/" => "/usr/lib/nagios/cgi/",
7 "/nagios" => "/usr/share/nagios",
8)
9
10$HTTP["url"] =~ "^/nagios/" {
11 auth.require = (
12 "/disabled-nagios/" => (
13 "method" => "basic",
14 "realm" => "Nagios",
15 "require" => "valid-user"
16 )
17 )
18
19 auth.backend = "htpasswd"
20# auth.backend = "ldap"
21
22 # htpasswd config
23 auth.backend.htpasswd.userfile = "/etc/webapps/nagios/passwd"
24
25 # ldap config
26 auth.backend.ldap.hostname = "localhost"
27 auth.backend.ldap.base-dn = "ou=People,dc=example,dc=org"
28 auth.backend.ldap.filter = "(uid=$)"
29}
This page took 0.06826 seconds and 4 git commands to generate.