summaryrefslogtreecommitdiff
path: root/tests/var-include-sub.conf
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-04-05 18:09:11 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2022-04-08 06:33:02 -0400
commit7258624e51b4bdb1b79f19f6c31ca7814cabcee1 (patch)
tree19052efb2817dc39961552ee13e0ca7bc254d81c /tests/var-include-sub.conf
parentdcb5f2318b163028f4bb7a18b2211facbd997713 (diff)
downloadlighttpd-git-7258624e51b4bdb1b79f19f6c31ca7814cabcee1.tar.gz
[tests] able to run tests when built w/o pcre
perl test framework now runs most tests even when lighttpd has been built without pcre support, though some tests which rely on regex are skipped (tests/core-condition.t)
Diffstat (limited to 'tests/var-include-sub.conf')
-rw-r--r--tests/var-include-sub.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/var-include-sub.conf b/tests/var-include-sub.conf
index d8f16969..c7ac97eb 100644
--- a/tests/var-include-sub.conf
+++ b/tests/var-include-sub.conf
@@ -1,5 +1,5 @@
# file to be included
-$HTTP["host"] =~ "^" + server.name + "$" {
+$HTTP["host"] == server.name {
url.redirect = (
"^/include$" => "/good_include",
"^/concat$" => "/good_" + "concat",
@@ -11,6 +11,7 @@ $HTTP["host"] =~ "^" + server.name + "$" {
"^/number1$" => "/good_number" + one,
"^/number2$" => one + "/good_number",
"^/env$" => "/" + env.env_test,
+ "^/rewrite/all(/.*)$" => "$1",
)
num = 1