X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=.htaccess;h=af2dc5a7ff24a244d731a5d2382dc496f62d1eda;hp=76fd7d09de5221dd301c0475707374754d34dee9;hb=6f199ee48906ca8cdc7d7f2cacbd4c57f474c879;hpb=4488ea4bb9924eed1ac9e9ea98bb093510a68788 diff --git a/.htaccess b/.htaccess index 76fd7d09..af2dc5a7 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]