X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.htaccess;h=8876e346ce70bf3ff951a5ed3e2fe682de837535;hb=91a21c272960889afd4eaa431a3d29b7785b6efc;hp=4c00427195ecb0998589fc09dd02fa8580d97a3e;hpb=6128ab6a55430a2b705be31ff417c0c552a0db1f;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]