X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fconf%2Fextra.conf.in;h=5445db928f64bb39c106280b49e017929c141a39;hb=7064f69b1dfb59d1f3bad647b2097d0320acce8a;hp=cb8c13be484a44c8b7f829f032603a7d3715fb7c;hpb=62fdfd9c38f9a41c49841e3de3db9a87a3f33f11;p=catagits%2FCatalyst-Runtime.git diff --git a/t/conf/extra.conf.in b/t/conf/extra.conf.in index cb8c13b..5445db9 100644 --- a/t/conf/extra.conf.in +++ b/t/conf/extra.conf.in @@ -13,6 +13,10 @@ # one CGI test will fail if you don't have mod_rewrite enabled RewriteEngine on RewriteRule /cgi$ /cgi/ [PT] + + # Pass-through Authorization header for CGI/FastCGI + RewriteCond %{HTTP:Authorization} ^(.+) + RewriteRule ^(.*)$ $1 [E=HTTP_AUTHORIZATION:%1,PT] RewriteEngine on @@ -34,7 +38,7 @@ ScriptAlias / @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/ - # Fix trailing slas + # Fix trailing slash RewriteEngine on RewriteRule /fastcgi/deep/path$ /fastcgi/deep/path/ [PT]