summaryrefslogtreecommitdiff
path: root/tests/lighttpd.conf
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-10-04 09:25:29 +0000
committerJan Kneschke <jan@kneschke.de>2005-10-04 09:25:29 +0000
commit51d6e2abf0822bd4d9dac09c16b2cece26d65653 (patch)
tree4294f56ab6557648598ed065fbbc24077bb07bb4 /tests/lighttpd.conf
parent6cfb2582c409eacc5ec731568081e41853e3448a (diff)
downloadlighttpd1.4-51d6e2abf0822bd4d9dac09c16b2cece26d65653.tar.gz
lighttpd1.4-51d6e2abf0822bd4d9dac09c16b2cece26d65653.zip
fixed output of non-cached compressed content and added test-cases
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@779 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 d9dfd5b4..704c033a 100644
--- a/tests/lighttpd.conf
+++ b/tests/lighttpd.conf
@@ -64,7 +64,9 @@ mimetype.assign = ( ".png" => "image/png",
".c" => "text/plain",
".conf" => "text/plain" )
-compress.cache-dir = "@SRCDIR@/tmp/lighttpd/cache/compress/"
+$HTTP["host"] == "cache.example.org" {
+ compress.cache-dir = "@SRCDIR@/tmp/lighttpd/cache/compress/"
+}
compress.filetype = ("text/plain", "text/html")
setenv.add-environment = ( "TRAC_ENV" => "tracenv", "SETENV" => "setenv")