diff options
| author | Syndamia <kamen@syndamia.com> | 2025-01-26 11:08:46 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-01-26 11:09:27 +0200 |
| commit | 76de68d2f3600a7000a054be3f595029b1931e20 (patch) | |
| tree | 35a48cde04501c4992d48f6ed32bb31ea9b597b6 /apache/sites/nowayforward_human.conf.tpl | |
| parent | 723cf2e6cbbea35e8f365d2287d01acb96f02643 (diff) | |
| download | nowayforward_human-76de68d2f3600a7000a054be3f595029b1931e20.tar nowayforward_human-76de68d2f3600a7000a054be3f595029b1931e20.tar.gz nowayforward_human-76de68d2f3600a7000a054be3f595029b1931e20.zip | |
feat: Authentication logic on every page
Diffstat (limited to 'apache/sites/nowayforward_human.conf.tpl')
| -rw-r--r-- | apache/sites/nowayforward_human.conf.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
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> |
