]>
Commit | Line | Data |
---|---|---|
7d3968ad ER |
1 | server.modules += ( |
2 | "mod_auth" | |
3 | ) | |
693950e2 ER |
4 | |
5 | #### auth module | |
6 | ## read authentication.txt for more info | |
7 | ## debugging | |
8 | # 0 for off, 1 for 'auth-ok' messages, 2 for verbose debugging | |
9 | #auth.debug = 1 | |
10 | ## type of backend | |
11 | # plain, htpasswd, ldap or htdigest | |
12 | #auth.backend = "plain" | |
13 | # filename of the password storage | |
14 | ## for plain | |
15 | #auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user" | |
16 | #auth.backend.plain.groupfile = "/etc/lighttpd/lighttpd.group" | |
17 | ## for htpasswd | |
18 | #auth.backend.htpasswd.userfile = "/etc/lighttpd/lighttpd-htpasswd.user" | |
19 | ## for htdigest | |
20 | #auth.backend.htdigest.userfile = "/etc/lighttpd/lighttpd-htdigest.user" | |
21 | ## for ldap | |
22 | # the $ in auth.backend.ldap.filter is replaced by the | |
23 | # 'username' from the login dialog | |
24 | #auth.backend.ldap.hostname = "localhost" | |
25 | #auth.backend.ldap.base-dn = "dc=my-domain,dc=com" | |
26 | #auth.backend.ldap.filter = "(uid=$)" | |
27 | ||
28 | #auth.require = ( | |
29 | # "/server-status" => ( | |
30 | # "method" => "digest", | |
31 | # "realm" => "download archiv", | |
32 | # "require" => "user=jan" | |
33 | # ), | |
34 | # "/server-info" => ( | |
35 | # "method" => "digest", | |
36 | # "realm" => "download archiv", | |
37 | # "require" => "valid-user" | |
38 | # ) | |
39 | #) | |
40 |