2
debug.log-request-handling = "enable"
3
debug.log-condition-handling = "enable"
5
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
6
server.pid-file = "@SRCDIR@/tmp/lighttpd/lighttpd.pid"
8
## bind to port (default: 80)
11
## bind to localhost (default: all interfaces)
12
server.bind = "localhost"
13
server.errorlog = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log"
14
server.name = "www.example.org"
15
server.tag = "Apache 1.3.29"
18
server.modules = ( "mod_redirect",
21
######################## MODULE CONFIG ############################
24
accesslog.filename = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log"
26
mimetype.assign = ( ".html" => "text/html" )
28
url.redirect = ("^" => "/default")
30
$HTTP["host"] == "www.example.org" {
31
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
32
server.name = "www.example.org"
33
url.redirect = ("^" => "/redirect")
35
$HTTP["host"] == "test.example.org" {
36
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
37
server.name = "test.example.org"
40
include "var-include-sub.conf"