This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Trying A Redirect On 80Legs Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Steve2507
Newbie
Newbie


Joined: 15 May 2007
Online Status: Offline
Posts: 23
Posted: 14 October 2011 at 8:41am | IP Logged Quote Steve2507

Hi,

I usually redirect bad bots to a dead page using the following code:

RewriteCond User-Agent: (?:Xenu).*
RewriteRule .* /999.html [L]

However it isn't working with one particularly bad bod (80legs), which has brought our server down and at times is requested dozens of pages a second from numerous IP addresses around the world.

The user agent line is:

Mozilla/5.0 (compatible; 008/0.83; http://www.80legs.com/webcrawler.html;) Gecko/2008032620 

I've tried these and neither of them work:

RewriteCond User-Agent: (?:008).*
RewriteCond User-Agent: (?:008/0.83).*

Any ideas on how to redirect this troublemaker gratefully received.

Thanks

Steve

Back to Top View Steve2507's Profile Search for other posts by Steve2507
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 17 October 2011 at 1:45am | IP Logged Quote Anton

Please give this a try:

RewriteCond User-Agent: .*008/0\.83.*

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Steve2507
Newbie
Newbie


Joined: 15 May 2007
Online Status: Offline
Posts: 23
Posted: 17 October 2011 at 3:06am | IP Logged Quote Steve2507

Hi Anton,

Brilliant, I'll give it a go.

Thanks for the help.

Steve

Back to Top View Steve2507's Profile Search for other posts by Steve2507
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum