From 56ea146ebc5fec9bf48c148ecadb4de15ab5080c Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Sun, 5 Dec 2021 23:49:57 +0100
Subject: [PATCH] Fix login issue

---
 docker/sympa/default.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/sympa/default.conf b/docker/sympa/default.conf
index 7351787..8533116 100644
--- a/docker/sympa/default.conf
+++ b/docker/sympa/default.conf
@@ -35,9 +35,9 @@
             Substitute "s|/wws/|/|"
         </Location>
 
-        # Hide direct access to /wws
+        # Hide direct access to /wws with 307 to preserve data and method
         RewriteCond %{REQUEST_URI} ^/wws.*
-        RewriteRule /wws(.*) $1 [L,QSA,R=301]
+        RewriteRule /wws(.*) $1 [L,QSA,R=307]
 
         # For debug purposes, uncomment this line
         # LogLevel alert rewrite:trace6 substitute:trace6
-- 
GitLab