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"
40 ######################## MODULE CONFIG ############################
43 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
46 ".png" => "image/png",
47 ".jpg" => "image/jpeg",
48 ".jpeg" => "image/jpeg",
49 ".gif" => "image/gif",
50 ".html" => "text/html",
51 ".htm" => "text/html",
52 ".pdf" => "application/pdf",
53 ".swf" => "application/x-shockwave-flash",
54 ".spl" => "application/futuresplash",
55 ".txt" => "text/plain",
56 ".tar.gz" => "application/x-tgz",
57 ".tgz" => "application/x-tgz",
58 ".gz" => "application/x-gzip",
60 ".conf" => "text/plain",
63 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
73 "host" => "127.0.0.1",
75 "bin-path" => env.PHP,
76 "bin-copy-environment" => ( "PATH", "SHELL", "USER", ),
86 auth.backend = "plain"
87 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
88 auth.backend.plain.groupfile = "lighttpd.group"
90 #auth.backend.ldap.hostname = "localhost"
91 #auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
92 #auth.backend.ldap.filter = "(uid=$)"
97 "realm" => "download archiv",
98 "require" => "group=www|user=jan|host=192.168.2.10",
102 "realm" => "download archiv",
103 "require" => "user=jan",
105 "/server-config" => (
107 "realm" => "download archiv",
108 "require" => "group=www|user=jan|host=192.168.2.10",
118 "^/redirect/$" => "http://localhost:2048/",
122 "/buggy/" => "access 2 hours",
123 "/asdhas/" => "access plus 1 seconds 2 minutes",
127 status.status-url = "/server-status"
128 status.config-url = "/server-config"
130 $HTTP["host"] == "vvv.example.org" {
131 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
134 $HTTP["host"] == "zzz.example.org" {
135 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
136 server.name = "zzz.example.org"