server.modules = (
"mod_access",
"mod_fastcgi",
+ "mod_rewrite",
"mod_accesslog"
)
server.bind = "127.0.0.1"
server.port = $port
+# Work around inability to hit http://localhost/deep/path
+# without a trailing slash
+url.rewrite = ( "deep/path\$" => "deep/path/" )
+
# catalyst app specific fcgi setup
fastcgi.server = (
"/deep/path" => (
# run the testsuite against the server
$ENV{CATALYST_SERVER} = "http://localhost:$port/deep/path";
-my @tests = glob('t/live_*');
+my @tests = (shift) || glob('t/live_*');
eval {
runtests(@tests);
};