Forum Moderators: open
User-agent: sohu-search
Disallow: /
I can't say for sure because I can't use and don't need or want the web traffic or email from either 61. or 220. so, I have 61. and 220. along with a few other class A address ranges in hosts.deny and beyond that disallow these address ranges at the firewall.
how to block IP ranges
A Simple Beginning
[webmasterworld.com...]
Close to Perfect htaccess
[webmasterworld.com...]
(edit wilderness)
Using idoc's criteria:
deny from 61.
deny from 220.
the 66 is Class "A"
the 196 is Class "B"
the 91 is Class "C"
the 166 is Class "D"
Some time ago the Class A's may have been associated with specific countries or reigons. That is NOT so today. One good example of thise exception is the 134 Class A.
The 61 Class A is primarily APNIC the Orient, however there are aslo some Ocenaic ranges in the 61 Class A block.
It is the tradition of this forum that each webmaster makes a decision as to what is detrimental or benefical to their own websites.
There are many tool sites of which you may use to assist you in making determinations. One from a dedicated participant in this forum:
[webmasterworld.com...]
The "Close to Perfect Htaccess" thread I supplied a link to provides many bots of variety, some of which many of us are in agreement on.
So that method is?
That's why I started this thread. TO know what method is good.
skuba,
I've previously supplied two links within Webmaster World of old threads, on two occassions to you.
On both occassions, you've returned with nearly identical issued before the URL's were provided.
Either your not taking the time to read the threads or your not taking the time to expand on what you read?
Nobodyin this forumn has the capability to advise you what is the best method for your website (s).
I learned the very basics of htaccess nearly five years ago, going through page after page of google references to the solitary term htaccess.
What has been shared in this forum has allowed me expand on methods and in some instances even provide new methods.
If you have a straight-forward question?
Than by all means, please aire it!
Your questions are too vague and leave the door-of-rely open for some serious time and depth.
If you have time, it's best spent in the WW archives where there are an almost infinite qanity of methods.
If you have a more precise question, than please find a way to communicate what precisely your looking to achieve.
Don
I think my question is pretty much straight-forward. A lot of people here went thought the same issues, so if I ask what works better. All people need to do is answer: Yes, it works great to use deny, I never had agents wasting my bandwidth anymore. Or, I tried deny and didn't work, I found out that by doing this other method ... worked great. etc...
I am basically trying to figure what works better in most of the cases.
I posted some comments in another recent thread [webmasterworld.com] (msg16) that may be useful to you. Personally, I prefer the automated approach to blocking user-agents that attempt to abuse my sites -- I don't have time to watch over them on an hourly or even daily basis. Therefore, I recommend the scripts I cited in that thread to you.
Jim