summaryrefslogtreecommitdiff
path: root/tests/var-include-sub.conf
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-08-08 17:25:55 +0000
committerJan Kneschke <jan@kneschke.de>2005-08-08 17:25:55 +0000
commit360aba360f5bb6c8db7f98717d67c08448b7a111 (patch)
treea1b3ccf8ee9658351357ca54a62997aff71aca09 /tests/var-include-sub.conf
parent8b07d57d66b28931a99ae6358a1644ab171cd7f1 (diff)
downloadlighttpd1.4-360aba360f5bb6c8db7f98717d67c08448b7a111.tar.gz
lighttpd1.4-360aba360f5bb6c8db7f98717d67c08448b7a111.zip
allow _ in env. and var. and optimized matching of conditions
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@529 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/var-include-sub.conf')
-rw-r--r--tests/var-include-sub.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/var-include-sub.conf b/tests/var-include-sub.conf
index 4ec85d35..152e6de1 100644
--- a/tests/var-include-sub.conf
+++ b/tests/var-include-sub.conf
@@ -10,7 +10,11 @@ $HTTP["host"] =~ "^" + server.name + "$" {
"^/myvar$" => "/good_myvar" + myvar,
"^/number1$" => "/good_number" + one,
"^/number2$" => one + "/good_number",
+ "^/env$" => "/" + env.env_test,
)
+ num = 1
+ num2 = 2
+ num2 += 1
# without var prefix
mystr = "string"
mystr += "_append"