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"
6 #debug.log-state-handling = "enable"
10 ## bind to port (default: 80)
13 ## bind to localhost (default: all interfaces)
14 server.bind = "localhost"
15 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
16 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
17 server.name = "www.example.org"
18 server.tag = "Apache 1.3.29"
20 server.dir-listing = "enable"
43 ######################## MODULE CONFIG ############################
46 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
49 ".png" => "image/png",
50 ".jpg" => "image/jpeg",
51 ".jpeg" => "image/jpeg",
52 ".gif" => "image/gif",
53 ".html" => "text/html",
54 ".htm" => "text/html",
55 ".pdf" => "application/pdf",
56 ".swf" => "application/x-shockwave-flash",
57 ".spl" => "application/futuresplash",
58 ".txt" => "text/plain",
59 ".tar.gz" => "application/x-tgz",
60 ".tgz" => "application/x-tgz",
61 ".gz" => "application/x-gzip",
63 ".conf" => "text/plain",
66 compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
76 "host" => "127.0.0.1",
78 "bin-path" => env.SRCDIR + "/fcgi-responder",
79 "check-local" => "disable",
91 auth.backend = "plain"
92 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
93 auth.backend.plain.groupfile = "lighttpd.group"
95 #auth.backend.ldap.hostname = "localhost"
96 #auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
97 #auth.backend.ldap.filter = "(uid=$)"
100 "/server-status" => (
101 "method" => "digest",
102 "realm" => "download archiv",
103 "require" => "group=www|user=jan|host=192.168.2.10",
107 "realm" => "download archiv",
108 "require" => "user=jan",
110 "/server-config" => (
112 "realm" => "download archiv",
113 "require" => "group=www|user=jan|host=192.168.2.10",
123 "^/redirect/$" => "http://localhost:2048/",
127 "/buggy/" => "access 2 hours",
128 "/asdhas/" => "access plus 1 seconds 2 minutes",
132 status.status-url = "/server-status"
133 status.config-url = "/server-config"
135 $HTTP["host"] == "vvv.example.org" {
136 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
139 $HTTP["host"] == "zzz.example.org" {
140 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
141 server.name = "zzz.example.org"
144 $HTTP["host"] == "wsgi.example.org" {
147 "host" => "127.0.0.1", "port" => 10000,
148 "fix-root-scriptname" => "enable",
149 "check-local" => "disable",
150 "bin-path" => env.SRCDIR + "/fcgi-responder",