I get a lot of bots with both undefined browsers and operating systems. Can anyone please suggest a way of blocking these bots in .htaccess if both of those conditions are met? I know how to block undefined user agents using:
RewriteCond %{HTTP_USER_AGENT} ^-?$ [NC]
RewriteRule .* - [F,L]
but any ideas on how to block only if both browser and OS are undefined?