summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-07-08 12:33:56 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-07-08 12:33:56 +0100
commit5f58f7e509a07219a30cc8a831f2e5d1bcd83a10 (patch)
tree97598c0953327a58cb3faba255be3de471114c10 /.htaccess
parentdc1b64dced300f733497e0a99343ebb1d9f535b3 (diff)
Use .htaccess in order to get bearer token from $_SERVER
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess5
1 files changed, 5 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..f0da25f
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,5 @@
+<IfModule mod_rewrite.c>
+ # Handle Authorization Header.
+ RewriteCond %{HTTP:Authorization} .
+ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
+</IfModule>