Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Could anyone tell me how to block access to a website for "libwww-perl" agents.

Can only seem to find .htaccess solutions.

Many thanks


share|improve this question
up vote 0 down vote accepted

According to this site you can do blocking on iis after installing the "URL Rewrite Module" http://www.seomoz.org/ugc/blocking-bots-based-on-useragent The specific pattern you would want to use is libwww-perl

Here is an almost identical question asked on serverfault http://serverfault.com/questions/408913/can-iis-block-specific-user-agent-from-requesting-a-page-web It suggests installing "Ionics Isapi Rewrite Filter" or "Microsoft URLScan"

share|improve this answer
Many thanks Stephan, perfect solution. – John Cogan Feb 13 '13 at 20:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.