PHP Code:
<Virtualhost 209.237.255.126>
Servername blingbling.com
ServerAlias [url]www.blingbling.com[/url]
Documentroot /home/fris/web/blingbling
<Directory>
Order allow,deny
deny from 64.27.187.29
deny from gofuckyourself.com
deny from [url]www.gofuckyourself.com[/url]
Allow from all
</Directory>
</Virtualhost>
that will block by ip and hostnames
hope that helps.