Forum Moderators: goodroi

Message Too Old, No Replies

Ban IP range

         

hostlead

5:13 am on Aug 31, 2006 (gmt 0)

10+ Year Member



Hello,

I have searched for quite some time, but cannot find the answer.
I would like to block ip addresses that contain 65.54.188
How can I do this? I tried several things, but none seem to work.

User-agent: 65.54.188.*
Disallow: /dir

User-agent: 65.54.188
Disallow: /dir

User-agent: 65.54.188.
Disallow: /dir

Thanks for the help!
HL

Webwork

7:16 am on Aug 31, 2006 (gmt 0)

hostlead

9:18 pm on Sep 2, 2006 (gmt 0)

10+ Year Member



I already blocked the user agent in the robots.txt file:

User-agent: MSNbot
Disallow: /dir

But for some reason the MSN bot doesn't listen. That's why I want to block the IP range. Other bots (google, etc.) are listening. Is there a way to do this with the robots.txt

HL