Forum Moderators: phranque

Message Too Old, No Replies

How to keep this from downloading site?

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)

         

guitaristinus

9:36 am on Nov 5, 2004 (gmt 0)

10+ Year Member



How can I keep the following from downloading my site?

61.31.***.192 - - [04/Nov/2004:12:39:59 -0500] "GET /mydirectory/ HTTP/1.1" 200 11698 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)"

IP Location: Taiwan - Taiwan Fixed Network Co. Ltd
Reverse IP: No websites hosted using this IP address

Would this addition to my .htaccess work? (thanks bird)
RewriteCond %{HTTP_USER_AGENT} clr\ 1$

And this:

213.209.***.42 - - [04/Nov/2004:03:06:52 -0500] "GET /mydirectory/page.htm HTTP/1.0" 200 5749 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FunWebProducts)"

IP Location: Italy - Skylogic Satellite Infrastructure
Reverse IP:No websites hosted using this IP address

Thanks.

[edited by: jdMorgan at 1:56 am (utc) on Nov. 7, 2004]
[edit reason] Obfuscated IP addresses [/edit]

jdMorgan

8:12 pm on Nov 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Both are normal browser user-agent names. Block them by IP address instead. Search WebmasterWorld for "ban malicious visitors with this PERL script" for an automatic method. There is also a PHP version.

Jim

guitaristinus

10:29 am on Nov 6, 2004 (gmt 0)

10+ Year Member



The PERL scripts are too difficult for me. I'm going to ban the IP addresses by hand.

I've started with the following at top of .htaccess file.

Deny From 61.31 203.162 203.210 210.245 213.209.168

This is going on a couple of domains. One that would have no interest to anyone outside of US. And another that would have no monetary incentive for me if it got visitors or not.