From 9be1abfb85fb7b572c36ab62bdb904a9f2e4799b Mon Sep 17 00:00:00 2001 From: mOo Date: Thu, 29 Sep 2005 14:42:35 +0000 Subject: an unset header is now treat as empty_string "" to make the conditional logic correct. git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@757 152afb58-edef-0310-8abb-c4023f1b3aa9 --- tests/lighttpd.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/lighttpd.conf') diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf index 1af1c267..d9dfd5b4 100644 --- a/tests/lighttpd.conf +++ b/tests/lighttpd.conf @@ -1,3 +1,5 @@ +debug.log-request-handling = "enable" +debug.log-condition-handling = "enable" server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" server.pid-file = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" @@ -184,7 +186,7 @@ $HTTP["host"] == "referer.example.org" { } } -$HTTP["url"] == "/empty-ref.jpg" { +$HTTP["cookie"] =~ "empty-ref" { $HTTP["referer"] == "" { url.access-deny = ( "" ) } -- cgit v1.2.1