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"
7 ## bind to port (default: 80)
10 ## bind to localhost (default: all interfaces)
11 server.bind = "localhost"
12 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
13 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
14 server.name = "www.example.org"
15 server.tag = "Apache 1.3.29"
17 server.dir-listing = "enable"
39 ######################## MODULE CONFIG ############################
42 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
45 ".png" => "image/png",
46 ".jpg" => "image/jpeg",
47 ".jpeg" => "image/jpeg",
48 ".gif" => "image/gif",
49 ".html" => "text/html",
50 ".htm" => "text/html",
51 ".pdf" => "application/pdf",
52 ".swf" => "application/x-shockwave-flash",
53 ".spl" => "application/futuresplash",
54 ".txt" => "text/plain",
55 ".tar.gz" => "application/x-tgz",
56 ".tgz" => "application/x-tgz",
57 ".gz" => "application/x-gzip",
59 ".conf" => "text/plain",
62 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
72 "host" => "127.0.0.1",
74 "bin-path" => env.PHP,
75 "bin-copy-environment" => ( "PATH", "SHELL", "USER", ),
85 auth.backend = "plain"
86 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
87 auth.backend.plain.groupfile = "lighttpd.group"
89 auth.backend.ldap.hostname = "localhost"
90 auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
91 auth.backend.ldap.filter = "(uid=$)"
96 "realm" => "download archiv",
97 "require" => "group=www|user=jan|host=192.168.2.10",
101 "realm" => "download archiv",
102 "require" => "user=jan",
104 "/server-config" => (
106 "realm" => "download archiv",
107 "require" => "group=www|user=jan|host=192.168.2.10",
117 "^/redirect/$" => "http://localhost:2048/",
121 "/buggy/" => "access 2 hours",
122 "/asdhas/" => "access plus 1 seconds 2 minutes",
126 status.status-url = "/server-status"
127 status.config-url = "/server-config"
129 $HTTP["host"] == "vvv.example.org" {
130 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
133 $HTTP["host"] == "zzz.example.org" {
134 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
135 server.name = "zzz.example.org"