1
1
debug.log-request-handling = "enable"
2
2
debug.log-condition-handling = "enable"
3
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
4
server.pid-file = "@SRCDIR@/tmp/lighttpd/lighttpd.pid"
3
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
4
server.pid-file = env.SRCDIR + "/tmp/lighttpd/lighttpd.pid"
6
6
## 64 Mbyte ... nice limit
7
7
server.max-request-size = 65000
12
12
## bind to localhost (default: all interfaces)
13
13
server.bind = "localhost"
14
server.errorlog = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log"
14
server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
15
15
server.name = "www.example.org"
16
16
server.tag = "Apache 1.3.29"
50
50
ssi.extension = ( ".shtml" )
52
accesslog.filename = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log"
52
accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
54
54
mimetype.assign = ( ".png" => "image/png",
55
55
".jpg" => "image/jpeg",
68
68
".conf" => "text/plain" )
70
70
$HTTP["host"] == "cache.example.org" {
71
compress.cache-dir = "@SRCDIR@/tmp/lighttpd/cache/compress/"
71
compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
73
73
compress.filetype = ("text/plain", "text/html")
103
103
auth.backend = "plain"
104
auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user"
104
auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
106
auth.backend.htpasswd.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.htpasswd"
106
auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd"
109
109
auth.require = ( "/server-status" =>
135
135
status.config-url = "/server-config"
137
137
$HTTP["host"] == "vvv.example.org" {
138
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
138
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
139
139
secdownload.secret = "verysecret"
140
secdownload.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
140
secdownload.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
141
141
secdownload.uri-prefix = "/sec/"
142
142
secdownload.timeout = 120
145
145
$HTTP["host"] == "zzz.example.org" {
146
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
146
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
147
147
server.name = "zzz.example.org"
150
$HTTP["host"] == "symlink.example.org" {
151
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
152
server.name = "symlink.example.org"
153
server.follow-symlink = "enable"
156
$HTTP["host"] == "nosymlink.example.org" {
157
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
158
server.name = "symlink.example.org"
159
server.follow-symlink = "disable"
150
162
$HTTP["host"] == "no-simple.example.org" {
151
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/123.example.org/pages/"
163
server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/123.example.org/pages/"
152
164
server.name = "zzz.example.org"
155
167
$HTTP["host"] !~ "(no-simple\.example\.org)" {
156
168
simple-vhost.document-root = "pages"
157
simple-vhost.server-root = "@SRCDIR@/tmp/lighttpd/servers/"
169
simple-vhost.server-root = env.SRCDIR + "/tmp/lighttpd/servers/"
158
170
simple-vhost.default-host = "www.example.org"