1
debug.log-request-handling = "enable"
2
debug.log-response-header = "enable"
3
debug.log-request-header = "enable"
5
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
6
server.pid-file = env.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 = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.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"
28
mimetype.assign = ( ".html" => "text/html" )
30
cgi.assign = (".pl" => "/usr/bin/perl" )
32
# fastcgi.server += ( "/404.pl" =>
35
# "socket" => env.SRCDIR + "/tmp/pl-404-fastcgi-1.socket",
36
# "bin-path" => server.document-root + "/404.pl",
38
# "check-local" => "disable",
39
# "broken-scriptfilename" => "enable",
44
$HTTP["url"] =~ "^/static/" {
45
server.error-handler-404 = "/404.html"
47
else $HTTP["url"] =~ "." {
48
server.error-handler-404 = "/404.pl"