From: Guillaume Rischard Date: Wed, 6 Mar 2024 23:53:42 +0000 (-0500) Subject: Use 308 redirect to keep IDN POST parameters X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/a4d3948a57b29cc0e7f49db304b383acb7d2ac60 Use 308 redirect to keep IDN POST parameters With many thanks to @MegaphoneJon for the precious help! --- 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