[core] fix buffer_copy_string_hex() assert (fixes #2742)
[lighttpd.git] / tests / 404-handler.conf
blobe10a2697081451c5a1ecd38795a11f48a344d126
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/"
7 ## bind to port (default: 80)
8 server.port                 = 2048
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"
18 server.modules = (
19         "mod_fastcgi",
20         "mod_cgi",
21         "mod_accesslog",
24 ######################## MODULE CONFIG ############################
27 accesslog.filename          = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
29 mimetype.assign             = (
30         ".html" => "text/html",
33 cgi.assign = (
34         ".pl" => env.PERL,
37 $HTTP["url"] =~ "^/static/" {
38         server.error-handler-404 = "/404.html"
40 else $HTTP["url"] =~ "^/dynamic/redirect_status/" {
41         server.error-handler     = "/404.pl"
43 else $HTTP["url"] =~ "." {
44         server.error-handler-404 = "/404.pl"