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"
10 server.name = "www.example.org"
11 server.tag = "Apache 1.3.29"
13 server.dir-listing = "enable"
36 ######################## MODULE CONFIG ############################
38 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
41 ".png" => "image/png",
42 ".jpg" => "image/jpeg",
43 ".jpeg" => "image/jpeg",
44 ".gif" => "image/gif",
45 ".html" => "text/html",
46 ".htm" => "text/html",
47 ".pdf" => "application/pdf",
48 ".swf" => "application/x-shockwave-flash",
49 ".spl" => "application/futuresplash",
50 ".txt" => "text/plain",
51 ".tar.gz" => "application/x-tgz",
52 ".tgz" => "application/x-tgz",
53 ".gz" => "application/x-gzip",
55 ".conf" => "text/plain",
58 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
68 "host" => "127.0.0.1",
79 auth.backend = "plain"
80 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
81 auth.backend.plain.groupfile = "lighttpd.group"
83 #auth.backend.ldap.hostname = "localhost"
84 #auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
85 #auth.backend.ldap.filter = "(uid=$)"
90 "realm" => "download archiv",
91 "require" => "group=www|user=jan|host=192.168.2.10",
95 "realm" => "download archiv",
96 "require" => "user=jan",
100 "realm" => "download archiv",
101 "require" => "group=www|user=jan|host=192.168.2.10",
111 "^/redirect/$" => "http://localhost:2048/",
115 "/buggy/" => "access 2 hours",
116 "/asdhas/" => "access plus 1 seconds 2 minutes",
120 status.status-url = "/server-status"
121 status.config-url = "/server-config"
123 $HTTP["host"] == "vvv.example.org" {
124 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
127 $HTTP["host"] == "zzz.example.org" {
128 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
129 server.name = "zzz.example.org"