Skip to content

Commit ac60a24

Browse files
committed
fix auth header when using apache
1 parent 87bfd35 commit ac60a24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

public/.htaccess

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
RewriteEngine On
33
RewriteBase /
44

5+
# Pass Authorization Header to PHP
6+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
7+
58
# If the request is for an actual file or directory, don't rewrite
69
RewriteCond %{REQUEST_FILENAME} -f [OR]
710
RewriteCond %{REQUEST_FILENAME} -d

0 commit comments

Comments
 (0)