]> git.pld-linux.org Git - packages/cacti.git/blob - cacti-lighttpd.conf
Up to 1.2.26
[packages/cacti.git] / cacti-lighttpd.conf
1 # $Id$
2
3 alias.url += (
4     "/cacti" => "/usr/share/cacti",
5 )
6
7 $HTTP["url"] =~ "^/cacti/" {
8         auth.require = (
9                 "/disabled-cacti/" => (
10                         "method"  => "basic",
11                         "realm"   => "Cacti",
12                         "require" => "valid-user"
13                 )
14         )
15
16         auth.backend = "htpasswd"
17 #       auth.backend = "ldap"
18
19         # htpasswd config
20         auth.backend.htpasswd.userfile = "/etc/webapps/passwd"
21
22         auth.backend.ldap.hostname = "localhost"
23         auth.backend.ldap.base-dn  = "ou=People,dc=example,dc=org"
24         auth.backend.ldap.filter   = "(uid=$)"
25 }
This page took 0.025062 seconds and 3 git commands to generate.