summaryrefslogtreecommitdiff
path: root/tests/lighttpd.conf
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-08-29 12:08:00 +0000
committerJan Kneschke <jan@kneschke.de>2005-08-29 12:08:00 +0000
commit15b010907193c23e7d89918e74b90ff36e21bab9 (patch)
tree0e4a1018cb091b600a5cde3bbadb8390f0534f82 /tests/lighttpd.conf
parent0f30ffa1450b6b062e9b50f3d7d59a4d0fe1fa6b (diff)
downloadlighttpd-git-15b010907193c23e7d89918e74b90ff36e21bab9.tar.gz
run tests in build root (merged #228)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@640 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r--tests/lighttpd.conf20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf
index 52d560a5..7ecb246a 100644
--- a/tests/lighttpd.conf
+++ b/tests/lighttpd.conf
@@ -1,12 +1,12 @@
-server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
-server.pid-file = "/tmp/lighttpd/lighttpd.pid"
+server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
+server.pid-file = "@SRCDIR@/tmp/lighttpd/lighttpd.pid"
## bind to port (default: 80)
server.port = 2048
## bind to localhost (default: all interfaces)
server.bind = "localhost"
-server.errorlog = "/tmp/lighttpd/logs/lighttpd.error.log"
+server.errorlog = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log"
server.name = "www.example.org"
server.tag = "Apache 1.3.29"
@@ -44,7 +44,7 @@ server.indexfiles = ( "index.php", "index.html",
ssi.extension = ( ".shtml" )
-accesslog.filename = "/tmp/lighttpd/logs/lighttpd.access.log"
+accesslog.filename = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log"
mimetype.assign = ( ".png" => "image/png",
".jpg" => "image/jpeg",
@@ -62,7 +62,7 @@ mimetype.assign = ( ".png" => "image/png",
".c" => "text/plain",
".conf" => "text/plain" )
-compress.cache-dir = "/tmp/lighttpd/cache/compress/"
+compress.cache-dir = "@SRCDIR@/tmp/lighttpd/cache/compress/"
compress.filetype = ("text/plain", "text/html")
secdownload.secret = "verysecret"
@@ -91,7 +91,7 @@ ssl.engine = "disable"
ssl.pemfile = "server.pem"
auth.backend = "plain"
-auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user"
+auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user"
auth.backend.plain.groupfile = "lighttpd.group"
auth.backend.ldap.hostname = "localhost"
@@ -136,22 +136,22 @@ status.status-url = "/server-status"
status.config-url = "/server-config"
$HTTP["host"] == "vvv.example.org" {
- server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
+ server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
}
$HTTP["host"] == "zzz.example.org" {
- server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/"
+ server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
server.name = "zzz.example.org"
}
$HTTP["host"] == "no-simple.example.org" {
- server.document-root = "/tmp/lighttpd/servers/123.example.org/pages/"
+ server.document-root = "@SRCDIR@/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.server-root = "@SRCDIR@/tmp/lighttpd/servers/"
simple-vhost.default-host = "www.example.org"
}