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 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Trying A Redirect On 80Legs
Author
Message |
Steve2507
Newbie


Joined: 15 May 2007
Posts: 23
Posted: 14 October 2011 at 8:41am

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 17 October 2011 at 1:45am

Please give this a try:

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

__________________
Regards,
Anton
Back to Top
 
Steve2507
Newbie


Joined: 15 May 2007
Posts: 23
Posted: 17 October 2011 at 3:06am

Hi Anton,

Brilliant, I'll give it a go.

Thanks for the help.

Steve

Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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