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"
37 ######################## MODULE CONFIG ############################
40 ".png" => "image/png",
41 ".jpg" => "image/jpeg",
42 ".jpeg" => "image/jpeg",
43 ".gif" => "image/gif",
44 ".html" => "text/html",
45 ".htm" => "text/html",
46 ".pdf" => "application/pdf",
47 ".swf" => "application/x-shockwave-flash",
48 ".spl" => "application/futuresplash",
49 ".txt" => "text/plain",
50 ".tar.gz" => "application/x-tgz",
51 ".tgz" => "application/x-tgz",
52 ".gz" => "application/x-gzip",
54 ".conf" => "text/plain",
60 "host" => "127.0.0.1",
62 "broken-scriptfilename" => "enable",
65 "host" => "127.0.0.1",
67 "check-local" => "disable",
68 "broken-scriptfilename" => "enable",
77 auth.backend = "plain"
78 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
80 auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd"
82 $HTTP["host"] == "lowercase-auth" {
86 "realm" => "download archiv",
87 "require" => "valid-user",
92 $HTTP["host"] == "lowercase-deny" {
98 $HTTP["host"] == "lowercase-exclude" {
99 static-file.exclude-extensions = (