~ubuntu-branches/ubuntu/hardy/lighttpd/hardy

« back to all changes in this revision

Viewing changes to tests/lighttpd.conf

  • Committer: Bazaar Package Importer
  • Author(s): Jeremie Corbier
  • Date: 2006-09-22 19:16:08 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060922191608-i9jngvf1wtf3j5rd
Tags: 1.4.12~20060907-1ubuntu1
Merge from debian unstable:
-> Keep the additional dependency on libterm-readline-perl-perl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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"
5
5
 
6
6
## 64 Mbyte ... nice limit
7
7
server.max-request-size = 65000
11
11
 
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"
17
17
 
49
49
 
50
50
ssi.extension = ( ".shtml" )
51
51
 
52
 
accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log"
 
52
accesslog.filename          = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
53
53
 
54
54
mimetype.assign             = ( ".png"  => "image/png", 
55
55
                                ".jpg"  => "image/jpeg",
68
68
                                ".conf" => "text/plain" )
69
69
 
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/"
72
72
}
73
73
compress.filetype           = ("text/plain", "text/html")
74
74
 
101
101
}
102
102
 
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"
105
105
 
106
 
auth.backend.htpasswd.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.htpasswd"
 
106
auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd"
107
107
 
108
108
 
109
109
auth.require                = ( "/server-status" => 
135
135
status.config-url           = "/server-config"
136
136
 
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
143
143
}
144
144
 
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"
148
148
}
149
149
 
 
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"
 
154
}
 
155
 
 
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"
 
160
}
 
161
 
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"
153
165
}
154
166
 
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"
159
171
}
160
172