It took some time to find out how to stop the new experimental bot twiceler (Twiceler info).
Full name: Twiceler-0.9 http://www.cuill.com/twiceler/robot.html
To block the bot with ISAPI_Rewrite, see below a sample of my httpd.ini file.
RewriteCond User-Agent: .*Twiceler.*
RewriteRule ^.* - [F,L]
This is the only regular expression which blocks the "twiceler" bot.
If you don't have the possibility to block the bot with isapi_rewrite, you can also include the following code into your Application.cfm file.
<cfset agent = cgi.http_user_agent>
<cfif findnocase("Twiceler",agent) GT 0>
<!-------------- if you like you can write something in a logfile ----------------->
<cflog file="visitorslog" type="information" text="#agent# it's twiceler again... cfabort page!!">
<cfabort>
</cfif>
You see, if you can´t block it with isapi_rewrite, you can at least stop it with cfabort. This way bots like twiceler will not overload your CPU and will not eat all of your bandwidth.
Best,
Harry Kuperus
http://www.comparum.eu
Reacties