X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fconf%2Fextra.conf.in;h=48f241d1b6c4b1638a882286b5bcf78c30215b9d;hb=2a8074980f232951ffa0f4ea52a2f195f7a0813f;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..48f241d 100644 --- a/t/conf/extra.conf.in +++ b/t/conf/extra.conf.in @@ -14,6 +14,10 @@ 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 RewriteRule /rewrite$ /rewrite/ [PT] @@ -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]