summaryrefslogtreecommitdiff
path: root/tests/condition.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condition.conf')
-rw-r--r--tests/condition.conf10
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")
+ }
+}