Forum Moderators: phranque

Message Too Old, No Replies

Banning robot in iis 6

Is it possible to ban a robot by user agent with iis

         

roblasch

3:47 pm on Mar 10, 2005 (gmt 0)



I have a robot that is looking for a page (the same page) every five minutes, without fail. Some have speculated that it is a monitor of some sort. The user agent is 'Mozilla/4.0 (compatible; EMonitor 6.0 Windows NT)' It is seeking a .cfm page that doesn't exist. The custom error page redirects it to the search page with a 301 permanent redirect and a 200 status for the search page. Yet, it continues to return ... every five minutes, looking for the same page. The biggest problem for me is that I get an email every time, letting me know of the original 404. Can I ban this bot with iis? I am not sure if the ip is static or not, so I would prefer to use the user agent. Is there a way to find if the ip is static?

Corey Bryant

4:07 pm on Mar 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Look at your server logs to see if it:
Date, Time, Client IP Address, Method, URI Stem, HTTP Status, Bytes Received, Bytes Sent, User Agent, Referrer, Cookie

I do not think it can be done alone thru IIS, but maybe with ASP: www.waag.ch/chris/authoring/robots-banned.asp