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"
6 #debug.log-state-handling = "enable"
10 ## bind to port (default: 80)
13 ## bind to localhost (default: all interfaces)
14 server.bind = "localhost"
15 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
16 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
17 server.name = "www.example.org"
18 server.tag = "Apache 1.3.29"
20 server.dir-listing = "enable"
42 ######################## MODULE CONFIG ############################
45 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
48 ".png" => "image/png",
49 ".jpg" => "image/jpeg",
50 ".jpeg" => "image/jpeg",
51 ".gif" => "image/gif",
52 ".html" => "text/html",
53 ".htm" => "text/html",
54 ".pdf" => "application/pdf",
55 ".swf" => "application/x-shockwave-flash",
56 ".spl" => "application/futuresplash",
57 ".txt" => "text/plain",
58 ".tar.gz" => "application/x-tgz",
59 ".tgz" => "application/x-tgz",
60 ".gz" => "application/x-gzip",
62 ".conf" => "text/plain",
65 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
75 "host" => "127.0.0.1",
77 "bin-path" => env.SRCDIR + "/fcgi-responder",
78 "check-local" => "disable",
90 auth.backend = "plain"
91 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
92 auth.backend.plain.groupfile = "lighttpd.group"
94 auth.backend.ldap.hostname = "localhost"
95 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
96 auth.backend.ldap.filter = "(uid=$)"
100 "method" => "digest",
101 "realm" => "download archiv",
102 "require" => "group=www|user=jan|host=192.168.2.10",
106 "realm" => "download archiv",
107 "require" => "user=jan",
109 "/server-config" => (
111 "realm" => "download archiv",
112 "require" => "group=www|user=jan|host=192.168.2.10",
122 "^/redirect/$" => "http://localhost:2048/",
126 "/buggy/" => "access 2 hours",
127 "/asdhas/" => "access plus 1 seconds 2 minutes",
131 status.status-url = "/server-status"
132 status.config-url = "/server-config"
134 $HTTP["host"] == "vvv.example.org" {
135 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
138 $HTTP["host"] == "zzz.example.org" {
139 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
140 server.name = "zzz.example.org"
143 $HTTP["host"] == "wsgi.example.org" {
146 "host" => "127.0.0.1", "port" => 10000,
147 "fix-root-scriptname" => "enable",
148 "check-local" => "disable",
149 "bin-path" => env.SRCDIR + "/fcgi-responder",