1 debug.log-request-handling = "enable"
2 debug.log-response-header = "disable"
3 debug.log-request-header = "disable"
5 ## bind to localhost (default: all interfaces)
6 server.bind = "localhost"
7 server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
8 server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
9 server.name = "www.example.org"
11 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
12 server.pid-file = env.SRCDIR + "/tmp/lighttpd/lighttpd.pid"
14 ## bind to port (default: 80)
19 ######################## MODULE CONFIG ############################
25 # docroot depending on request path
26 $HTTP["url"] =~ "^/a/" {
27 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/a.example.org/pages/"
28 } else $HTTP["url"] =~ "^/b/" {
29 server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/b.example.org/pages/"