mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
#4707 Added rewrite rule to htaccess to prevent issues with Bearer token being stripped by apache
This commit is contained in:
parent
99d586f0a2
commit
5df462eb7f
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@ DirectoryIndex app.php
|
|||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
RewriteCond %{HTTP:Authorization} ^(.*)
|
||||
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
|
||||
|
||||
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
|
||||
RewriteRule ^(.*) - [E=BASE:%1]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue