summaryrefslogtreecommitdiff
path: root/tests/lighttpd.conf
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-03-04 18:38:46 +0000
committerJan Kneschke <jan@kneschke.de>2005-03-04 18:38:46 +0000
commita9f7841379c51901897c654283495a8dce4ddc98 (patch)
tree435780083e1d5e8660f0c824d6344ddc949152bf /tests/lighttpd.conf
parentb41aa700abb4167bbfa93983855d4068487418cb (diff)
downloadlighttpd1.4-a9f7841379c51901897c654283495a8dce4ddc98.tar.gz
lighttpd1.4-a9f7841379c51901897c654283495a8dce4ddc98.zip
2 rewrite tests
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@92 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r--tests/lighttpd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf
index 2545e570..1cbdab56 100644
--- a/tests/lighttpd.conf
+++ b/tests/lighttpd.conf
@@ -125,6 +125,9 @@ 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" )
+
expire.url = ( "/expire/access" => "access 2 hours",
"/expire/modification" => "access plus 1 seconds 2 minutes")