summaryrefslogtreecommitdiff
path: root/tests/lighttpd.conf
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-09-29 13:30:25 +0000
committerJan Kneschke <jan@kneschke.de>2005-09-29 13:30:25 +0000
commit4005e69bbfe1b9a1fc774597a5ebdc58031c72a3 (patch)
tree4adf3fc8cf13ec5547ee8266832d085120aa10c3 /tests/lighttpd.conf
parentcebb64e47badd1fda2439f44a4110576bcd755b4 (diff)
downloadlighttpd1.4-4005e69bbfe1b9a1fc774597a5ebdc58031c72a3.tar.gz
lighttpd1.4-4005e69bbfe1b9a1fc774597a5ebdc58031c72a3.zip
added a check for $HTTP["referer"] == ""
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@753 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r--tests/lighttpd.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf
index c6e86cd6..1af1c267 100644
--- a/tests/lighttpd.conf
+++ b/tests/lighttpd.conf
@@ -184,3 +184,10 @@ $HTTP["host"] == "referer.example.org" {
}
}
+$HTTP["url"] == "/empty-ref.jpg" {
+ $HTTP["referer"] == "" {
+ url.access-deny = ( "" )
+ }
+}
+
+