1debug.log-request-handling   = "enable"
2debug.log-response-header   = "disable"
3debug.log-request-header   = "disable"
4
5server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
6server.pid-file              = env.SRCDIR + "/tmp/lighttpd/lighttpd.pid"
7
8## bind to port (default: 80)
9server.port                 = 2048
10
11## bind to localhost (default: all interfaces)
12server.bind                = "localhost"
13server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
14server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
15server.name                = "www.example.org"
16
17server.modules = (
18	"mod_compress"
19)
20
21######################## MODULE CONFIG ############################
22
23mimetype.assign = (
24	".html" => "text/html",
25	".txt"  => "text/plain; charset=utf-8",
26)
27
28$HTTP["host"] == "cache.example.org" {
29	compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
30}
31compress.filetype = ("text/plain", "text/html")
32
33compress.allowed-encodings = ( "gzip", "deflate" )
34