.: Spam Protection :.
  Author: Albert
 
You came directly to this page. Links to Pondok: | Main Page | PHP Scripts |

If you have a Apache server, put the following .htaccess in your root:

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*NEWT [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Crescent [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^CherryPicker [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^WebEMailExtrac.* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^NICErsPRO [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Telesoft [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus.*Webster [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Microsoft.URL [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/3.Mozilla/2.01 [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailCollector
RewriteRule ^.*$ http://yourdomain/errors/403badspammer.html [L,R]
RewriteCond %{HTTP_USER_AGENT} ^-?$
RewriteRule ^.*$ http://yourdomain/errors/4031.html [L]


Make a page named 403badspammer and that is the redirection for email harvesters.

The 2 brown lines are for empty User_Agents, that means if the browser agent cannot be recognised (empty) than you also have no acces to the site (goto 4031.html)
People who block the name of their browser will also have no access.
Webwasher among others offers this possibility.
It is a trick several email harvesters use now adays. And the number of visitors with empty user agents are problably less than 0.03%.


Please use the forum for any questions!
Be the first person to add a comment. View/Add comments


Copyright AB Webservices 2002-2009 Last modified on: 07-07-2004 04:53:55
Page generated with php in: 0.022 seconds. Page cached since:23:33:05, expires on 23:48:05
This page has been viewed 648 times since June 2003.