LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > How to block/redirect specific user agents

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2008, 01:03 AM
subBlue subBlue is offline
Member
 
Join Date: Oct 2006
Posts: 42
Default How to block/redirect specific user agents

Some of our sites have been crawled by the Indylib bot which has been spamming rubbish into URL parameters and generally being a bad bot. What is the best way to block requests from specific user agents?

The user agent header for the indy lib bot is:
Mozilla/3.0 (compatible; Indy Library)
Reply With Quote
  #2  
Old 04-22-2008, 07:37 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Use a rewrite rule testing ${USER_AGENT} should do the job.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:03 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.