1 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
3 debug.log-request-header = "enable"
4 debug.log-response-header = "enable"
5 debug.log-request-handling = "enable"
7 ## bind to port (default: 80)
10 ## bind to localhost (default: all interfaces)
11 server.bind = "localhost"
12 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
13 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
14 server.name = "www.example.org"
15 server.tag = "Apache 1.3.29"
17 server.dir-listing = "enable"
40 ######################## MODULE CONFIG ############################
43 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
46 ".png" => "image/png",
47 ".jpg" => "image/jpeg",
48 ".jpeg" => "image/jpeg",
49 ".gif" => "image/gif",
50 ".html" => "text/html",
51 ".htm" => "text/html",
52 ".pdf" => "application/pdf",
53 ".swf" => "application/x-shockwave-flash",
54 ".spl" => "application/futuresplash",
55 ".txt" => "text/plain",
56 ".tar.gz" => "application/x-tgz",
57 ".tgz" => "application/x-tgz",
58 ".gz" => "application/x-gzip",
60 ".conf" => "text/plain",
63 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
73 "host" => "127.0.0.1",
75 "bin-path" => env.SRCDIR + "/fcgi-auth",
76 "mode" => "authorizer",
77 "check-local" => "disable",
80 "host" => "127.0.0.1",
82 "bin-path" => env.SRCDIR + "/fcgi-responder",
83 "check-local" => "disable",
94 auth.backend = "plain"
95 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
96 auth.backend.plain.groupfile = "lighttpd.group"
98 #auth.backend.ldap.hostname = "localhost"
99 #auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
100 #auth.backend.ldap.filter = "(uid=$)"
103 "/server-status" => (
104 "method" => "digest",
105 "realm" => "download archiv",
106 "require" => "group=www|user=jan|host=192.168.2.10",
110 "realm" => "download archiv",
111 "require" => "user=jan",
113 "/server-config" => (
115 "realm" => "download archiv",
116 "require" => "group=www|user=jan|host=192.168.2.10",
126 "^/redirect/$" => "http://localhost:2048/",
130 "/buggy/" => "access 2 hours",
131 "/asdhas/" => "access plus 1 seconds 2 minutes",
136 status.status-url = "/server-status"
137 status.config-url = "/server-config"
139 $HTTP["host"] == "vvv.example.org" {
140 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
143 $HTTP["host"] == "zzz.example.org" {
144 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
145 server.name = "zzz.example.org"