9 lines
329 B
ApacheConf
9 lines
329 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
# Pass the Authorization header (JWT Bearer) to PHP - Apache/PHP-FPM strips it otherwise
|
|
RewriteCond %{HTTP:Authorization} .
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^ index.php [L]
|
|
</IfModule>
|