2 debug.log-request-handling = "enable"
3 debug.log-condition-handling = "enable"
5 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
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"
23 ######################## MODULE CONFIG ############################
26 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
29 ".html" => "text/html",
36 $HTTP["host"] == "www.example.org" {
37 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
38 server.name = "www.example.org"
43 else $HTTP["host"] == "test1.example.org" {
44 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
45 server.name = "test1.example.org"
51 else $HTTP["host"] == "test2.example.org" {
52 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
53 server.name = "test2.example.org"
61 else $HTTP["host"] == "test3.example.org" {
62 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
63 server.name = "test3.example.org"
69 $HTTP["url"] == "/index.html" {
76 else $HTTP["host"] == "test4.example.org" {
77 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
78 server.name = "test4.example.org"
83 $HTTP["url"] =~ "^/subdir/" {
90 $HTTP["url"] != "/show/other/server-tag" {
92 else $HTTP["scheme"] == "http" {
93 server.tag = "special tag"