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