I'm getting a lot of spambots from China (and elsewhere, likely botnets) accessing my blog which have a user agent string starting with
PHP/5.. These include such nonsense values as
PHP/5.2.81, versions which don't exist. However, most UA strings consist of this raw glob pattern, which indicates what the spambot is trying to pretend to be:
As such, blocking all user agents starting with
.htaccess would bring a halt to this spambot activity. Is there a significant risk of blocking legitimate crawlers?