I've been checking my error logs and see there was several attempts at accessing portions of my site that don't exist.
The addresses entered all had the words "admin" and "stylesheet.css" in the entered address.
I just blocked the IP address in my .htaccess file, but in the future I'd like to automate this process by matching all attempts with "admin" and "stylesheet.css" in the words (if such a URL results in a 403 error) and if the same IP tries more than x amount of times within x hours.
Perhaps redirect the user to a php script or auto-add the IP to the list I have in the .htaccess file.
I did a search but couldn't find something that would do this.