Forum Moderators: phranque
What it does is says, "The site is 'forbiden'", to a visitor attempting to access your site from the site you want to restrict access from.
You will need to make sure mod_rewrite is enabled, change badsite to the actual site name and upload the code above to your .htaccess file.
Please, keep in mind this will have no effect on search engines, because they do not send a referrer header, so the link will still be counted.
Not much else you can do.
Justin