In my .htaccess file, I'm currently using RewriteCond to match the user agent of bad bots.
I know that SetEnvIf can also be used to block bad bots too.
The question is, what's the difference between RewriteCond and SetEnvIf?
Is one better than the other when it comes to server performance?
Thanks!