change error code for blocks
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 6 Oct 2013 18:40:59 +0000 (20:40 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 6 Oct 2013 18:40:59 +0000 (20:40 +0200)
cookbooks/nominatim/templates/default/apache.erb

index 91fb9a2a8c09ff6ab692b54621750994345d90a6..010b27ad8a4d9d3d04b8965ce93775f669a6654a 100644 (file)
     </Location>
     <% end -%>
 
-    Redirect 509 /pool-block/
-    ErrorDocument 509 /509.html
+    Redirect 420 /pool-block/
+    ErrorDocument 420 /509.html
     <Location /pool-block>
-        ErrorDocument 509 /509.html
+        ErrorDocument 420 /509.html
     </Location>
     Redirect 403 /pool-ban/
     <Location /pool-ban>