Bash script to block brute force attacks with .htaccess