]> BookStack Code Mirror - bookstack/commitdiff
added Handle Authorization Header on .htaccess to solve Authorization problem get...
authorosmansorkar <redacted>
Wed, 19 Feb 2020 06:44:23 +0000 (12:44 +0600)
committerosmansorkar <redacted>
Wed, 19 Feb 2020 06:44:23 +0000 (12:44 +0600)
public/.htaccess

index 0d55354ec6fb756086be2bcace7be11078064f29..abe87b39de7a73abd817cedd264d3c1f7b9ec17b 100644 (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]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.