summaryrefslogtreecommitdiff
path: root/tests/docroot
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2018-12-10 22:35:21 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2018-12-10 22:36:23 -0500
commit07517ff30af559d419a592b16b62c4c5dde3bb06 (patch)
tree628592564e9cdad85e2824bd7c0c5a1d5c40fd5b /tests/docroot
parentf03e5e239d024965d4c1476b5e02baa06f876269 (diff)
downloadlighttpd-git-07517ff30af559d419a592b16b62c4c5dde3bb06.tar.gz
[tests] some test config cleanup
including limiting use of php in tests to mod-fastcgi.t
Diffstat (limited to 'tests/docroot')
-rw-r--r--tests/docroot/www/indexfile/Makefile.am2
-rwxr-xr-xtests/docroot/www/indexfile/query_string.pl3
-rw-r--r--tests/docroot/www/indexfile/rewrite.php3
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/docroot/www/indexfile/Makefile.am b/tests/docroot/www/indexfile/Makefile.am
index 04727308..333c0c56 100644
--- a/tests/docroot/www/indexfile/Makefile.am
+++ b/tests/docroot/www/indexfile/Makefile.am
@@ -1 +1 @@
-EXTRA_DIST=index.php return-404.php rewrite.php
+EXTRA_DIST=index.php return-404.php query_string.pl
diff --git a/tests/docroot/www/indexfile/query_string.pl b/tests/docroot/www/indexfile/query_string.pl
new file mode 100755
index 00000000..b775f6f6
--- /dev/null
+++ b/tests/docroot/www/indexfile/query_string.pl
@@ -0,0 +1,3 @@
+#!/usr/bin/env perl
+
+print "Status: 200\n\n$ENV{QUERY_STRING}"
diff --git a/tests/docroot/www/indexfile/rewrite.php b/tests/docroot/www/indexfile/rewrite.php
deleted file mode 100644
index fb412907..00000000
--- a/tests/docroot/www/indexfile/rewrite.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- print $_SERVER["QUERY_STRING"];
-?>