]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/apache.erb
Use "429 Too Many Requests" for apache 2.4 compatibility
[chef.git] / cookbooks / nominatim / templates / default / apache.erb
index 3d47b428f8fbe2e975b24fd6a0bed04e518d3793..3eae1357a8883e06d7f563381a3becf266a899aa 100644 (file)
     </LocationMatch>
     <% end -%>
 
     </LocationMatch>
     <% end -%>
 
-    Redirect 420 /pool-block/
-    ErrorDocument 420 /509.html
+    Redirect 429 /pool-block/
+    ErrorDocument 429 /509.html
     <Location /pool-block>
     <Location /pool-block>
-        ErrorDocument 420 /509.html
+        ErrorDocument 429 /509.html
     </Location>
     Redirect 403 /pool-ban/
     <Location /pool-ban>
     </Location>
     Redirect 403 /pool-ban/
     <Location /pool-ban>