X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.htaccess;h=8876e346ce70bf3ff951a5ed3e2fe682de837535;hb=74c2ae408838fc075030ec6899accc0b9f270c91;hp=4c00427195ecb0998589fc09dd02fa8580d97a3e;hpb=dc5e0944833a489ad64fa306e360316a9f24d77b;p=github%2Fshaarli%2FShaarli.git diff --git a/.htaccess b/.htaccess index 4c004271..8876e346 100644 --- a/.htaccess +++ b/.htaccess @@ -7,6 +7,7 @@ RewriteEngine On RewriteRule ^(.git|doxygen|vendor) - [F] # Forward the "Authorization" HTTP header +# fixes JWT token not correctly forwarded on some Apache/FastCGI setups RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]