X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fconf%2Fextra.conf.in;h=18964415c162e05b6c0a843c33e799f127aedf7a;hb=0ef99f8c77a89b0010ba03c5467f6bf4dae5d0e9;hp=3daa2a0fc54e4a410305f3ccb01fd88e4de4a6ec;hpb=ffd92403ac50b1b68ac1ad7934925b465c2d9d4c;p=catagits%2FCatalyst-Runtime.git diff --git a/t/conf/extra.conf.in b/t/conf/extra.conf.in index 3daa2a0..1896441 100644 --- a/t/conf/extra.conf.in +++ b/t/conf/extra.conf.in @@ -1,11 +1,30 @@ + + # Needed to pass some %2F tests + AllowEncodedSlashes on + + # CGI ScriptAlias /cgi/ @ServerRoot@/tmp/TestApp/script/testapp_cgi.pl/ + + # REDIRECT_URL test + + # Fix trailing slash on /cgi + # one CGI test will fail if you don't have mod_rewrite enabled + RewriteEngine on + RewriteRule /cgi$ /cgi/ [PT] + + + RewriteEngine on + RewriteRule /rewrite$ /rewrite/ [PT] + RewriteRule /rewrite/(.*) /cgi/$1 + + # FastCGI FastCgiIpcDir @ServerRoot@/tmp/tmp - FastCgiServer @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl -idle-timeout 300 -processes 5 + FastCgiServer @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl -idle-timeout 300 -processes 1 ScriptAlias /fastcgi/ @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/