]> git.openstreetmap.org Git - chef.git/commitdiff
Use "429 Too Many Requests" for apache 2.4 compatibility
authorTom Hughes <tom@compton.nu>
Tue, 10 Jun 2014 12:42:31 +0000 (13:42 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 10 Jun 2014 12:42:31 +0000 (13:42 +0100)
cookbooks/nominatim/templates/default/apache.erb

index 3d47b428f8fbe2e975b24fd6a0bed04e518d3793..3eae1357a8883e06d7f563381a3becf266a899aa 100644 (file)
     </LocationMatch>
     <% end -%>
 
-    Redirect 420 /pool-block/
-    ErrorDocument 420 /509.html
+    Redirect 429 /pool-block/
+    ErrorDocument 429 /509.html
     <Location /pool-block>
-        ErrorDocument 420 /509.html
+        ErrorDocument 429 /509.html
     </Location>
     Redirect 403 /pool-ban/
     <Location /pool-ban>