diff options
author | Stefan Bühler <stbuehler@web.de> | 2015-11-22 22:22:22 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2015-11-22 22:22:22 +0000 |
commit | bfaa48260a1870ed102e3e4801a18bcb29369a89 (patch) | |
tree | 383b16df82d121bcdb43e2d18c6ce70857630e0a /tests/lighttpd.conf | |
parent | b0a44212724d86b9ec8434337d53de69780f1a07 (diff) | |
download | lighttpd-git-bfaa48260a1870ed102e3e4801a18bcb29369a89.tar.gz |
[mod_secdownload] add required algorithm option; old behaviour available as "md5", new options "hmac-sha1" and "hmac-sha256"
Differential Revision: https://review.lighttpd.net/D7
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3054 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r-- | tests/lighttpd.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf index 83eee0e5..1893c5d4 100644 --- a/tests/lighttpd.conf +++ b/tests/lighttpd.conf @@ -170,6 +170,25 @@ $HTTP["host"] == "vvv.example.org" { secdownload.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" secdownload.uri-prefix = "/sec/" secdownload.timeout = 120 + secdownload.algorithm = "md5" +} + +$HTTP["host"] == "vvv-sha1.example.org" { + server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" + secdownload.secret = "verysecret" + secdownload.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" + secdownload.uri-prefix = "/sec/" + secdownload.timeout = 120 + secdownload.algorithm = "hmac-sha1" +} + +$HTTP["host"] == "vvv-sha256.example.org" { + server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" + secdownload.secret = "verysecret" + secdownload.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" + secdownload.uri-prefix = "/sec/" + secdownload.timeout = 120 + secdownload.algorithm = "hmac-sha256" } $HTTP["host"] == "zzz.example.org" { |