Some person is trying to hack my Wordpress site, so I'mma mess with them. They're using a script to POST password guesses directly to the wp-login.php page. I can block this easily enough with my .htaccess file:
<limit POST>
order deny,allow
deny from 188.213.49.210
</limit>
ErrorDocument 403 /fakelogin.php
But POSTs don't redirect to my 403 error page. The fakelogin page, for those curious, forces a download of the entirety of the Lego Movie everytime they guess a password:
<?php
$file_url = '/rsc/The.Lego.Movie.2014.m4v';
header('Content-Type: application/octet-stream');
header("Content-Transfer-Encoding: Binary");
header("Content-disposition: attachment; filename=\"" . basename($file_url) . "\"");
echo "Fake page";
readfile($file_url);
?>
My knowledge of php is limited. How can I perform the above task when he makes a POST to wp-login.php? I'm willing to edit wp-login.php if needed.