[core] struct log_error_st for error logging
[lighttpd.git] / tests / mod-secdownload.conf
blobc857340fac212a5972c14efae4d82b995cadbb29
1 debug.log-request-handling = "enable"
2 debug.log-request-header = "enable"
3 debug.log-response-header = "enable"
5 server.document-root       = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
7 ## bind to port (default: 80)
8 server.port                = 2048
10 ## bind to localhost (default: all interfaces)
11 server.bind                = "localhost"
12 server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
13 server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
14 server.name                = "www.example.org"
15 server.tag                 = "Apache 1.3.29"
17 server.modules = (
18         "mod_secdownload",
19         "mod_accesslog",
22 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
24 $HTTP["host"] == "vvv.example.org" {
25         server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
26         secdownload.secret          = "verysecret"
27         secdownload.document-root   = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
28         secdownload.uri-prefix      = "/sec/"
29         secdownload.timeout         = 120
30         secdownload.algorithm       = "md5"
33 $HTTP["host"] == "vvv-sha1.example.org" {
34         server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
35         secdownload.secret          = "verysecret"
36         secdownload.document-root   = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
37         secdownload.uri-prefix      = "/sec/"
38         secdownload.timeout         = 120
39         secdownload.algorithm       = "hmac-sha1"
42 $HTTP["host"] == "vvv-sha256.example.org" {
43         server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
44         secdownload.secret          = "verysecret"
45         secdownload.document-root   = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
46         secdownload.uri-prefix      = "/sec/"
47         secdownload.timeout         = 120
48         secdownload.algorithm       = "hmac-sha256"
49         secdownload.hash-querystr   = "enable"