How-to Correctly Prevent Referrer Spam?

Hi. I have read several articles / blogs about the different methods of preventing referrer spam on the statistics logs of our server.

Can anyone please tell me the correct way to prevent it?

My server is running Linux w/ Plesk Control Panel.

Any advice is much appreciated.


Correct way to prevent it? Don’t collect it. Or don’t display it in any public fashion.
Referrer Spam is hoping that you publicly display your statistics logs.

Sites that publicize their access logs, including referrer statistics, will then end up linking to the spammer’s site, which will in turn be indexed by the search engines as they crawl the access logs.