summaryrefslogtreecommitdiff
path: root/tests/condition.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condition.conf')
-rw-r--r--tests/condition.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/condition.conf b/tests/condition.conf
index 7e34e493..67eaeaf2 100644
--- a/tests/condition.conf
+++ b/tests/condition.conf
@@ -33,13 +33,13 @@ $HTTP["host"] == "www.example.org" {
server.name = "www.example.org"
url.redirect = ("^" => "/match_1")
}
-| $HTTP["host"] == "test1.example.org" {
+else $HTTP["host"] == "test1.example.org" {
server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
server.name = "test1.example.org"
url.redirect = ("^" => "/match_2")
}
# comments
-| $HTTP["host"] == "test2.example.org" {
+else $HTTP["host"] == "test2.example.org" {
server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
server.name = "test2.example.org"
url.redirect = ("^" => "/match_3")
@@ -47,7 +47,7 @@ $HTTP["host"] == "www.example.org" {
# comments
-| $HTTP["host"] == "test3.example.org" {
+else $HTTP["host"] == "test3.example.org" {
server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
server.name = "test3.example.org"
url.redirect = ("^" => "/match_4")