Annotation of embedaddon/lighttpd/tests/404-handler.conf, revision 1.1.1.2
1.1 misho 1: debug.log-request-handling = "enable"
2: debug.log-response-header = "enable"
3: debug.log-request-header = "enable"
4:
5: server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
6:
7: ## bind to port (default: 80)
8: server.port = 2048
9:
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"
16:
17:
1.1.1.2 ! misho 18: server.modules = (
! 19: "mod_fastcgi",
! 20: "mod_cgi",
! 21: "mod_accesslog",
! 22: )
1.1 misho 23:
24: ######################## MODULE CONFIG ############################
25:
26:
27: accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
28:
1.1.1.2 ! misho 29: mimetype.assign = (
! 30: ".html" => "text/html",
! 31: )
! 32:
! 33: cgi.assign = (
! 34: ".pl" => env.PERL,
! 35: )
1.1 misho 36:
37: $HTTP["url"] =~ "^/static/" {
1.1.1.2 ! misho 38: server.error-handler-404 = "/404.html"
! 39: }
! 40: else $HTTP["url"] =~ "^/dynamic/redirect_status/" {
! 41: server.error-handler = "/404.pl"
1.1 misho 42: }
43: else $HTTP["url"] =~ "." {
1.1.1.2 ! misho 44: server.error-handler-404 = "/404.pl"
1.1 misho 45: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>