version 1.1.1.1, 2013/10/14 10:32:47
|
version 1.1.1.2, 2016/11/02 10:35:00
|
Line 1
|
Line 1
|
|
|
debug.log-request-handling = "enable" |
debug.log-request-handling = "enable" |
debug.log-condition-handling = "enable" | #debug.log-condition-handling = "enable" |
|
|
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" |
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" |
|
|
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 = ( "mod_redirect", | server.modules = ( |
"mod_accesslog" ) | "mod_redirect", |
| "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" ) | url.redirect = ( |
| "^" => "/default", |
| ) |
|
|
url.redirect = ("^" => "/default") |
|
|
|
$HTTP["host"] == "www.example.org" { |
$HTTP["host"] == "www.example.org" { |
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" | server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" |
server.name = "www.example.org" | server.name = "www.example.org" |
url.redirect = ("^" => "/redirect") | url.redirect = ( |
| "^" => "/redirect", |
| ) |
} |
} |
|
|
$HTTP["host"] == "test.example.org" { |
$HTTP["host"] == "test.example.org" { |
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" | server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" |
server.name = "test.example.org" | server.name = "test.example.org" |
var.myvar = "good" | var.myvar = "good" |
var.one = 1 | var.one = 1 |
include "var-include-sub.conf" | include "var-include-sub.conf" |
} |
} |