X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fconf%2Fextra.conf.in;h=3b64074ddfd3fc6b37d72d708f830c498bca2c3b;hb=babd1e285884092614a12c875437568f2ee6a53c;hp=18964415c162e05b6c0a843c33e799f127aedf7a;hpb=0ef99f8c77a89b0010ba03c5467f6bf4dae5d0e9;p=catagits%2FCatalyst-Runtime.git diff --git a/t/conf/extra.conf.in b/t/conf/extra.conf.in index 1896441..3b64074 100644 --- a/t/conf/extra.conf.in +++ b/t/conf/extra.conf.in @@ -26,5 +26,16 @@ FastCgiIpcDir @ServerRoot@/tmp/tmp FastCgiServer @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl -idle-timeout 300 -processes 1 - ScriptAlias /fastcgi/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/ + + # Test at a non-root location + ScriptAlias /fastcgi/deep/path/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/ + + # Test at root + ScriptAlias / @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/ + + + # Fix trailing slash + RewriteEngine on + RewriteRule /fastcgi/deep/path$ /fastcgi/deep/path/ [PT] +