From 76de68d2f3600a7000a054be3f595029b1931e20 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 26 Jan 2025 11:08:46 +0200 Subject: feat: Authentication logic on every page --- apache/sites/nowayforward_human.conf.tpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apache/sites/nowayforward_human.conf.tpl') 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] -- cgit v1.2.3