whitespace cleanup
[catagits/Catalyst-Runtime.git] / t / conf / extra.conf.in
index cb8c13b..48f241d 100644 (file)
         RewriteEngine on
         RewriteRule /cgi$ /cgi/ [PT]
 
+        # Pass-through Authorization header for CGI/FastCGI
+        RewriteCond %{HTTP:Authorization} ^(.+)
+        RewriteRule ^(.*)$ $1 [E=HTTP_AUTHORIZATION:%1,PT]
+
         <Location /rewrite>
             RewriteEngine on
             RewriteRule /rewrite$ /rewrite/ [PT]
@@ -34,7 +38,7 @@
     ScriptAlias / @ServerRoot@/tmp/TestApp/script/testapp_fastcgi.pl/
 
     <IfModule mod_rewrite.c>
-        # Fix trailing slas
+        # Fix trailing slash
         RewriteEngine on
         RewriteRule /fastcgi/deep/path$ /fastcgi/deep/path/ [PT]
     </IfModule>