summaryrefslogtreecommitdiff
path: root/tests/fastcgi-10.conf
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2018-12-18 00:08:46 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2018-12-18 00:08:46 -0500
commita1077d18cb36b0cbdfb9da7138ba302f2090db78 (patch)
treede4251da2737b07b88c27e44203a3f1878896167 /tests/fastcgi-10.conf
parentfe3dc1796894d22ad60da24d2bfc25fbf612861c (diff)
downloadlighttpd1.4-a1077d18cb36b0cbdfb9da7138ba302f2090db78.tar.gz
lighttpd1.4-a1077d18cb36b0cbdfb9da7138ba302f2090db78.zip
[tests] more test config cleanup
Diffstat (limited to 'tests/fastcgi-10.conf')
-rw-r--r--tests/fastcgi-10.conf26
1 files changed, 4 insertions, 22 deletions
diff --git a/tests/fastcgi-10.conf b/tests/fastcgi-10.conf
index 7c1ba539..df5a7880 100644
--- a/tests/fastcgi-10.conf
+++ b/tests/fastcgi-10.conf
@@ -24,40 +24,23 @@ server.indexfiles = (
accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
-$HTTP["host"] == "bin-env.example.org" {
-
-fastcgi.server = (
- ".php" => (
- "grisu" => (
- "host" => "127.0.0.1",
- "port" => 1048,
- "bin-path" => env.PHP,
- "bin-copy-environment" => ( "PATH", "SHELL", "USER", ),
- ),
- ),
-)
-
-}
-else {
-
fastcgi.debug = 0
fastcgi.server = (
".php" => ( (
"host" => "127.0.0.1",
"port" => 1026,
- "broken-scriptfilename" => "enable",
+ "bin-path" => env.PHP,
+ "bin-copy-environment" => ( "PATH", "SHELL", "USER", ),
"allow-x-send-file" => "enable",
) ),
"/prefix.fcgi" => ( (
"host" => "127.0.0.1",
"port" => 1026,
- "check-local" => "disable",
- "broken-scriptfilename" => "enable",
+ "bin-path" => env.PHP,
+ "bin-copy-environment" => ( "PATH", "SHELL", "USER", ),
) ),
)
-}
-
server.error-handler-404 = "/indexfile/return-404.php"
$HTTP["host"] == "zzz.example.org" {
@@ -65,7 +48,6 @@ $HTTP["host"] == "zzz.example.org" {
}
$HTTP["host"] == "auth.example.org" {
- server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
server.name = "auth.example.org"
auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd"
auth.backend = "htpasswd"