]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init-website.php
prepare next release
[nominatim.git] / lib / init-website.php
index e47b73fb4bfa0d29b53f19c0c481e70d460a061c..6db83988551f4d2fd6fba8ac745befa3f9043388 100644 (file)
@@ -54,6 +54,7 @@
 
        if (strpos(CONST_BlockedIPs, ','.$_SERVER["REMOTE_ADDR"].',') !== false || $fBucketVal >= CONST_ConnectionBucket_BlockLimit)
        {
+               header("HTTP/1.0 429 Too Many Requests");
                echo "Your IP has been blocked. \n";
                echo CONST_BlockMessage;
                exit;