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"
35 ######################## MODULE CONFIG ############################
37 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
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",
57 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
67 "host" => "127.0.0.1",
78 auth.backend = "plain"
79 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
80 auth.backend.plain.groupfile = "lighttpd.group"
82 auth.backend.ldap.hostname = "localhost"
83 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
84 auth.backend.ldap.filter = "(uid=$)"
89 "realm" => "download archiv",
90 "require" => "group=www|user=jan|host=192.168.2.10",
94 "realm" => "download archiv",
95 "require" => "user=jan",
99 "realm" => "download archiv",
100 "require" => "group=www|user=jan|host=192.168.2.10",
110 "^/redirect/$" => "http://localhost:2048/",
114 "/buggy/" => "access 2 hours",
115 "/asdhas/" => "access plus 1 seconds 2 minutes",
119 status.status-url = "/server-status"
120 status.config-url = "/server-config"
122 $HTTP["host"] == "vvv.example.org" {
123 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
126 $HTTP["host"] == "zzz.example.org" {
127 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
128 server.name = "zzz.example.org"