From a8769d998d86cd55ba5dab389a6f5e420cb91bc2 Mon Sep 17 00:00:00 2001
From: Lubomir Bucek <lubomir.bucek@eox.at>
Date: Thu, 28 Jan 2021 09:44:18 +0100
Subject: [PATCH] add rewrite to 200 on basic auth apache success

---
 config/shibboleth/shib-apache.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config/shibboleth/shib-apache.conf b/config/shibboleth/shib-apache.conf
index b0f744fc..9d4be1d7 100755
--- a/config/shibboleth/shib-apache.conf
+++ b/config/shibboleth/shib-apache.conf
@@ -42,6 +42,8 @@
       AuthBasicProvider file
       AuthName "/secure"
       AuthUserFile /run/secrets/BASIC_AUTH_USERS_AUTH
+      RewriteEngine On
+      RewriteRule ^.*$ - [R=200]
     </If>
     <Else>
       RewriteEngine On
-- 
GitLab