version 1.1.1.1, 2013/10/14 10:32:47
|
version 1.1.1.2, 2016/11/02 10:35:00
|
Line 15 server.name = "www.example.org"
|
Line 15 server.name = "www.example.org"
|
server.tag = "Apache 1.3.29" |
server.tag = "Apache 1.3.29" |
|
|
|
|
server.modules = ( | server.modules = ( |
"mod_fastcgi", | "mod_fastcgi", |
"mod_cgi", | "mod_cgi", |
"mod_accesslog" ) | "mod_accesslog", |
| ) |
|
|
######################## MODULE CONFIG ############################ |
######################## MODULE CONFIG ############################ |
|
|
|
|
accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log" |
accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log" |
|
|
mimetype.assign = ( ".html" => "text/html" ) | mimetype.assign = ( |
| ".html" => "text/html", |
| ) |
|
|
cgi.assign = (".pl" => "/usr/bin/perl" ) | cgi.assign = ( |
| ".pl" => env.PERL, |
| ) |
|
|
# fastcgi.server += ( "/404.pl" => |
|
# ( "404-handler" => |
|
# ( |
|
# "socket" => env.SRCDIR + "/tmp/pl-404-fastcgi-1.socket", |
|
# "bin-path" => server.document-root + "/404.pl", |
|
# "max-procs" => 1, |
|
# "check-local" => "disable", |
|
# "broken-scriptfilename" => "enable", |
|
# ) |
|
# ), |
|
# ) |
|
|
|
$HTTP["url"] =~ "^/static/" { |
$HTTP["url"] =~ "^/static/" { |
server.error-handler-404 = "/404.html" | server.error-handler-404 = "/404.html" |
} |
} |
|
else $HTTP["url"] =~ "^/dynamic/redirect_status/" { |
|
server.error-handler = "/404.pl" |
|
} |
else $HTTP["url"] =~ "." { |
else $HTTP["url"] =~ "." { |
server.error-handler-404 = "/404.pl" | server.error-handler-404 = "/404.pl" |
} |
} |