From: Tom Hughes Date: Tue, 10 Jun 2014 12:42:31 +0000 (+0100) Subject: Use "429 Too Many Requests" for apache 2.4 compatibility X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/0970d9770176c7dd94e6e8ad56925c66439537b9 Use "429 Too Many Requests" for apache 2.4 compatibility --- diff --git a/cookbooks/nominatim/templates/default/apache.erb b/cookbooks/nominatim/templates/default/apache.erb index 3d47b428f..3eae1357a 100644 --- a/cookbooks/nominatim/templates/default/apache.erb +++ b/cookbooks/nominatim/templates/default/apache.erb @@ -52,10 +52,10 @@ <% end -%> - Redirect 420 /pool-block/ - ErrorDocument 420 /509.html + Redirect 429 /pool-block/ + ErrorDocument 429 /509.html - ErrorDocument 420 /509.html + ErrorDocument 429 /509.html Redirect 403 /pool-ban/