When running a Rails4 app, I often see bots probing to see whether I'm running a Wordpress site. I expect that they are looking to either create comment spam or looking for Wordpress security vulnerabilities.
Here's an example error from the log:
ActionController::RoutingError (No route matches [GET] "/wp-login.php")
What is a simple example of Rack middleware where I could block this http request? How would I name the file and where would it go in the Rails application?
Thank you!