diff options
author | Arno Töll <arno@debian.org> | 2012-11-21 23:04:00 +0100 |
---|---|---|
committer | Arno Töll <arno@debian.org> | 2012-11-21 23:04:00 +0100 |
commit | c0f89a02702b44a811cac511838cbd217ee5dd82 (patch) | |
tree | 2b5310112a38be371deafa22d3a018958b1eb9a9 /tests/condition.conf | |
parent | 16cadaab87d25fc026ac777746eabbff3030f0cc (diff) | |
download | lighttpd-c0f89a02702b44a811cac511838cbd217ee5dd82.tar.gz |
Imported Upstream version 1.4.29upstream/1.4.29
Diffstat (limited to 'tests/condition.conf')
-rw-r--r-- | tests/condition.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/condition.conf b/tests/condition.conf index a812c8a..d1e8882 100644 --- a/tests/condition.conf +++ b/tests/condition.conf @@ -57,3 +57,13 @@ else $HTTP["host"] == "test3.example.org" { url.redirect = ("^" => "/match_5") } } + +else $HTTP["host"] == "test4.example.org" { + server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" + server.name = "test4.example.org" + url.redirect = ("^" => "/match_6") + + $HTTP["url"] =~ "^/subdir/" { + url.redirect = ("^" => "/match_7") + } +} |