summaryrefslogtreecommitdiff
path: root/tests/lighttpd.conf
diff options
context:
space:
mode:
authormOo <moo.lighttpd@gmail.com>2005-09-29 14:42:35 +0000
committermOo <moo.lighttpd@gmail.com>2005-09-29 14:42:35 +0000
commit9be1abfb85fb7b572c36ab62bdb904a9f2e4799b (patch)
treef905a00757b90e635c272e1edb305b1d5c23ecdf /tests/lighttpd.conf
parent33320eba678d9dcf1a97d8e7ed25798e849a6afd (diff)
downloadlighttpd1.4-9be1abfb85fb7b572c36ab62bdb904a9f2e4799b.tar.gz
lighttpd1.4-9be1abfb85fb7b572c36ab62bdb904a9f2e4799b.zip
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
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r--tests/lighttpd.conf4
1 files changed, 3 insertions, 1 deletions
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 = ( "" )
}