From a4d3948a57b29cc0e7f49db304b383acb7d2ac60 Mon Sep 17 00:00:00 2001 From: Guillaume Rischard Date: Wed, 6 Mar 2024 18:53:42 -0500 Subject: [PATCH] Use 308 redirect to keep IDN POST parameters With many thanks to @MegaphoneJon for the precious help! --- cookbooks/civicrm/templates/default/apache.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/civicrm/templates/default/apache.erb b/cookbooks/civicrm/templates/default/apache.erb index 727b0b913..d70a6eab1 100644 --- a/cookbooks/civicrm/templates/default/apache.erb +++ b/cookbooks/civicrm/templates/default/apache.erb @@ -24,7 +24,7 @@ SSLCertificateKeyFile /etc/ssl/private/join.osmfoundation.org.key <% end -%> - RewriteRule ^/(.*)$ https://supporting.openstreetmap.org/$1 [R=permanent,L] + RewriteRule ^/(.*)$ https://supporting.openstreetmap.org/$1 [R=308,L] CustomLog /var/log/apache2/join.osmfoundation.org-access.log combined ErrorLog /var/log/apache2/join.osmfoundation.org-error.log -- 2.39.5