1 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
3 ## bind to port (default: 80)
6 ## bind to localhost (default: all interfaces)
7 server.bind = "localhost"
8 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
9 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
11 server.force-lowercase-filenames = "enable"
13 server.dir-listing = "enable"
36 ######################## MODULE CONFIG ############################
39 ".png" => "image/png",
40 ".jpg" => "image/jpeg",
41 ".jpeg" => "image/jpeg",
42 ".gif" => "image/gif",
43 ".html" => "text/html",
44 ".htm" => "text/html",
45 ".pdf" => "application/pdf",
46 ".swf" => "application/x-shockwave-flash",
47 ".spl" => "application/futuresplash",
48 ".txt" => "text/plain",
49 ".tar.gz" => "application/x-tgz",
50 ".tgz" => "application/x-tgz",
51 ".gz" => "application/x-gzip",
53 ".conf" => "text/plain",
59 "host" => "127.0.0.1",
61 "broken-scriptfilename" => "enable",
64 "host" => "127.0.0.1",
66 "check-local" => "disable",
67 "broken-scriptfilename" => "enable",
76 auth.backend = "plain"
77 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
79 auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd"
81 $HTTP["host"] == "lowercase-auth" {
85 "realm" => "download archiv",
86 "require" => "valid-user",
91 $HTTP["host"] == "lowercase-deny" {
97 $HTTP["host"] == "lowercase-exclude" {
98 static-file.exclude-extensions = (