I have somewhat of a staging server on the public internet running copies of the production code for a few websites. I\'d really not like it if the staging sites get indexed. <
Try Using Apache to stop bad robots. You can get the user agents online or just allow browsers, rather than trying to block all bots.