1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

added Handle Authorization Header on .htaccess to solve Authorization problem get from laravel orginal github ripo

This commit is contained in:
osmansorkar
2020-02-19 12:44:23 +06:00
parent 01b95d91ba
commit 01adf39be8

View File

@@ -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]