|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
|
|
|
|
|
server.pid-file = "/tmp/lighttpd/lighttpd.pid"
|
|
|
|
|
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
|
|
|
|
|
server.pid-file = "@SRCDIR@/tmp/lighttpd/lighttpd.pid"
|
|
|
|
|
|
|
|
|
|
## bind to port (default: 80)
|
|
|
|
|
server.port = 2048
|
|
|
|
@ -8,7 +8,7 @@ server.port = 2048
|
|
|
|
|
|
|
|
|
|
## bind to localhost (default: all interfaces)
|
|
|
|
|
server.bind = "localhost"
|
|
|
|
|
server.errorlog = "/tmp/lighttpd/logs/lighttpd.error.log"
|
|
|
|
|
server.errorlog = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log"
|
|
|
|
|
server.name = "www.example.org"
|
|
|
|
|
server.tag = "Apache 1.3.29"
|
|
|
|
|
|
|
|
|
@ -59,7 +59,7 @@ server.indexfiles = ( "index.html",
|
|
|
|
|
######################## MODULE CONFIG ############################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
accesslog.filename = "/tmp/lighttpd/logs/lighttpd.access.log"
|
|
|
|
|
accesslog.filename = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log"
|
|
|
|
|
|
|
|
|
|
mimetype.assign = ( ".png" => "image/png",
|
|
|
|
|
".jpg" => "image/jpeg",
|
|
|
|
@ -77,7 +77,7 @@ mimetype.assign = ( ".png" => "image/png",
|
|
|
|
|
".c" => "text/plain",
|
|
|
|
|
".conf" => "text/plain" )
|
|
|
|
|
|
|
|
|
|
compress.cache-dir = "/tmp/lighttpd/cache/compress/"
|
|
|
|
|
compress.cache-dir = "@SRCDIR@/tmp/lighttpd/cache/compress/"
|
|
|
|
|
compress.filetype = ("text/plain", "text/html")
|
|
|
|
|
|
|
|
|
|
setenv.add-environment = ( "TRAC_ENV" => "foo")
|
|
|
|
@ -90,7 +90,7 @@ fastcgi.server = ( ".php" => (
|
|
|
|
|
"host" => "127.0.0.1",
|
|
|
|
|
"port" => 1026,
|
|
|
|
|
# "mode" => "authorizer",
|
|
|
|
|
# "docroot" => "/tmp/lighttpd/servers/www.example.org/pages/",
|
|
|
|
|
# "docroot" => "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/",
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
@ -106,7 +106,7 @@ ssl.engine = "disable"
|
|
|
|
|
ssl.pemfile = "server.pem"
|
|
|
|
|
|
|
|
|
|
auth.backend = "plain"
|
|
|
|
|
auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user"
|
|
|
|
|
auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user"
|
|
|
|
|
auth.backend.plain.groupfile = "lighttpd.group"
|
|
|
|
|
|
|
|
|
|
auth.backend.ldap.hostname = "localhost"
|
|
|
|
@ -149,15 +149,15 @@ status.status-url = "/server-status"
|
|
|
|
|
status.config-url = "/server-config"
|
|
|
|
|
|
|
|
|
|
simple-vhost.document-root = "pages"
|
|
|
|
|
simple-vhost.server-root = "/tmp/lighttpd/servers/"
|
|
|
|
|
simple-vhost.server-root = "@SRCDIR@/tmp/lighttpd/servers/"
|
|
|
|
|
simple-vhost.default-host = "www.example.org"
|
|
|
|
|
|
|
|
|
|
$HTTP["host"] == "vvv.example.org" {
|
|
|
|
|
server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
|
|
|
|
|
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$HTTP["host"] == "zzz.example.org" {
|
|
|
|
|
server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
|
|
|
|
|
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
|
|
|
|
|
server.name = "zzz.example.org"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|