summaryrefslogtreecommitdiff
path: root/tests/lighttpd.conf
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-03-04 13:10:35 +0000
committerJan Kneschke <jan@kneschke.de>2005-03-04 13:10:35 +0000
commitb41aa700abb4167bbfa93983855d4068487418cb (patch)
treee43df4342cfdc28408a5c069ea86eb90938b60a6 /tests/lighttpd.conf
parent6b297b3341fa59ff44e9796b51f4cd521c5a7970 (diff)
downloadlighttpd1.4-b41aa700abb4167bbfa93983855d4068487418cb.tar.gz
lighttpd1.4-b41aa700abb4167bbfa93983855d4068487418cb.zip
check that conditionals and simple-vhost work together
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@91 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r--tests/lighttpd.conf15
1 files changed, 11 insertions, 4 deletions
diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf
index 9adc7bc6..2545e570 100644
--- a/tests/lighttpd.conf
+++ b/tests/lighttpd.conf
@@ -134,10 +134,6 @@ expire.url = ( "/expire/access" => "access 2 hours",
status.status-url = "/server-status"
status.config-url = "/server-config"
-simple-vhost.document-root = "pages"
-simple-vhost.server-root = "/tmp/lighttpd/servers/"
-simple-vhost.default-host = "www.example.org"
-
$HTTP["host"] == "vvv.example.org" {
server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
}
@@ -147,3 +143,14 @@ $HTTP["host"] == "zzz.example.org" {
server.name = "zzz.example.org"
}
+$HTTP["host"] == "no-simple.example.org" {
+ server.document-root = "/tmp/lighttpd/servers/123.example.org/pages/"
+ server.name = "zzz.example.org"
+}
+
+$HTTP["host"] !~ "(no-simple\.example\.org)" {
+ simple-vhost.document-root = "pages"
+ simple-vhost.server-root = "/tmp/lighttpd/servers/"
+ simple-vhost.default-host = "www.example.org"
+}
+