Browse Source

handle authorization header

Paul Vidal 9 years ago
parent
commit
85e8d21ef2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      public/.htaccess

+ 4 - 0
public/.htaccess

@@ -13,4 +13,8 @@
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteRule ^ index.php [L]
+
+    # Handle Authorization Header
+    RewriteCond %{HTTP:Authorization} .
+    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
 </IfModule>