diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-04-05 18:09:11 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-04-08 06:33:02 -0400 |
commit | 7258624e51b4bdb1b79f19f6c31ca7814cabcee1 (patch) | |
tree | 19052efb2817dc39961552ee13e0ca7bc254d81c /tests/var-include-sub.conf | |
parent | dcb5f2318b163028f4bb7a18b2211facbd997713 (diff) | |
download | lighttpd-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.conf | 3 |
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 |