Website Summary Files Commits Branches @commit @diff @stats
path: root / apache
diff options
context:
space:
mode:
1 files changed, 4 insertions, 0 deletions
-rw-r--r--apache/sites/nowayforward_human.conf.tpl4
diff --git a/apache/sites/nowayforward_human.conf.tpl b/apache/sites/nowayforward_human.conf.tpl
index 72ed808..ba010c7 100644
--- a/apache/sites/nowayforward_human.conf.tpl
+++ b/apache/sites/nowayforward_human.conf.tpl
@@ -10,4 +10,8 @@
RedirectMatch "^/$" /home/index.php
RedirectMatch "^/index.html$" /home/index.php
RedirectMatch "^/index.php$" /home/index.php
+
+ RewriteEngine On
+ RewriteCond %{HTTP:Authorization} ^(.*)
+ RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
</VirtualHost>