X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fconf%2Fextra.conf.in;h=5445db928f64bb39c106280b49e017929c141a39;hb=901b4331956b16740851040d0b9c109066a05620;hp=3b64074ddfd3fc6b37d72d708f830c498bca2c3b;hpb=55a7d9850d78f35c8950eacbdb881d68c71c6bf6;p=catagits%2FCatalyst-Runtime.git diff --git a/t/conf/extra.conf.in b/t/conf/extra.conf.in index 3b64074..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