summaryrefslogtreecommitdiff
path: root/tests/lighttpd.conf
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-08-09 06:42:33 +0000
committerJan Kneschke <jan@kneschke.de>2005-08-09 06:42:33 +0000
commit75c3a8393a06bcdbf7d9bbfc627728619ae93261 (patch)
treeeabea4f43f18d4bbcc5de838cb9186a3dc906397 /tests/lighttpd.conf
parent360aba360f5bb6c8db7f98717d67c08448b7a111 (diff)
downloadlighttpd1.4-75c3a8393a06bcdbf7d9bbfc627728619ae93261.tar.gz
lighttpd1.4-75c3a8393a06bcdbf7d9bbfc627728619ae93261.zip
added include_shell option to configfiles (merged the rest of the trunk changesets)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r--tests/lighttpd.conf23
1 files changed, 20 insertions, 3 deletions
diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf
index 7863f543..4e92433c 100644
--- a/tests/lighttpd.conf
+++ b/tests/lighttpd.conf
@@ -67,7 +67,7 @@ setenv.add-request-header = ( "FOO" => "foo")
setenv.add-response-header = ( "BAR" => "foo")
fastcgi.debug = 0
-fastcgi.server = ( ".php" => ( ( "host" => "127.0.0.1", "port" => 1026 ) ),
+fastcgi.server = ( ".php" => ( ( "host" => "127.0.0.1", "port" => 1026, "broken-scriptfilename" => "enable" ) ),
"/prefix.fcgi" => ( ( "host" => "127.0.0.1", "port" => 1026, "check-local" => "disable", "broken-scriptfilename" => "enable" ) )
)
@@ -115,8 +115,6 @@ auth.require = ( "/server-status" =>
url.access-deny = ( "~", ".inc")
-url.redirect = ( "^/redirect/$" => "http://localhost:2048/" )
-
url.rewrite = ( "^/rewrite/foo($|\?.+)" => "/indexfile/rewrite.php$1",
"^/rewrite/bar(?:$|\?(.+))" => "/indexfile/rewrite.php?bar&$1" )
@@ -149,3 +147,22 @@ $HTTP["host"] !~ "(no-simple\.example\.org)" {
simple-vhost.default-host = "www.example.org"
}
+$HTTP["host"] =~ "(vvv).example.org" {
+ url.redirect = ( "^/redirect/$" => "http://localhost:2048/" )
+}
+
+$HTTP["host"] =~ "(zzz).example.org" {
+ url.redirect = ( "^/redirect/$" => "http://localhost:2048/%1" )
+}
+
+$HTTP["host"] =~ "(remoteip).example.org" {
+ $HTTP["remoteip"] =~ "(127.0.0.1)" {
+ url.redirect = ( "^/redirect/$" => "http://localhost:2048/%1" )
+ }
+}
+
+$HTTP["remoteip"] =~ "(127.0.0.1)" {
+ $HTTP["host"] =~ "(remoteip2).example.org" {
+ url.redirect = ( "^/redirect/$" => "http://localhost:2048/%1" )
+ }
+}