From: osmansorkar Date: Wed, 19 Feb 2020 06:44:23 +0000 (+0600) Subject: added Handle Authorization Header on .htaccess to solve Authorization problem get... X-Git-Tag: v0.29.0~1^2~8^2~1 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/01adf39be8fdaed911712170ded91ae878dfa254 added Handle Authorization Header on .htaccess to solve Authorization problem get from laravel orginal github ripo --- diff --git a/public/.htaccess b/public/.htaccess index 0d55354ec..abe87b39d 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -5,6 +5,10 @@ RewriteEngine On + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301]