]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
01b95d9
)
added Handle Authorization Header on .htaccess to solve Authorization problem get...
author
osmansorkar
<redacted>
Wed, 19 Feb 2020 06:44:23 +0000
(12:44 +0600)
committer
osmansorkar
<redacted>
Wed, 19 Feb 2020 06:44:23 +0000
(12:44 +0600)
public/.htaccess
patch
|
blob
|
history
diff --git
a/public/.htaccess
b/public/.htaccess
index 0d55354ec6fb756086be2bcace7be11078064f29..abe87b39de7a73abd817cedd264d3c1f7b9ec17b 100644
(file)
--- 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]
hide
Morty Proxy
This is a
proxified and sanitized
view of the page, visit
original site
.