Original article
[http://www.ewebsite.biz/modules.php?name=phpnuke&page=hacks/secure_htaccess.html]
.htaccess file
# Deny domain access to spammers and other scumbags
RewriteEngine on
php_flag register_globals off
SetEnvIfNoCase User-Agent “^libwww-perl*” block_bad_bots
Deny from env=block_bad_bots
# Redirect index.php to domain.com