2 rewrite tests

git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@92 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/release-1.3.13
Jan Kneschke 18 years ago
parent b41aa700ab
commit a9f7841379

@ -32,6 +32,7 @@ CONFS=fastcgi-10.conf \
mod-fastcgi.t \
mod-redirect.t \
mod-userdir.t \
mod-rewrite.t \
request.t

@ -1 +1 @@
EXTRA_DIST=index.php return-404.php
EXTRA_DIST=index.php return-404.php rewrite.php

@ -0,0 +1,3 @@
<?php
print $_SERVER["QUERY_STRING"];
?>

@ -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")

Loading…
Cancel
Save