Click to See Complete Forum and Search --> : [URGENT] htaccess Ban WHOLE Domain?


m.munoz
11-18-2007, 10:55 PM
Somebody please tell me how to ban whole isp domains and other proxy surfing services such as HTTP-TUNNEL. COM

What and where exactly do I type the code in the .htaccess file?

NogDog
11-19-2007, 07:40 AM
Order allow,deny
Allow from all
Deny from domain1.com domain2.net domain3.co.uk 123.234.12

m.munoz
11-19-2007, 08:16 AM
the domain/isp blocking didnt work.
i tried blocking my own isp which is pldt.net according to http://myip.dk/ but i still got in.

Order allow,deny
Allow from all
Deny from pldt.net

LeeU
11-19-2007, 10:38 AM
I couldn't get to pldt.net (server not found) but was refused into into www.pldt.net ("This URL is not allowed to be proxied").

m.munoz
11-19-2007, 11:21 AM
I dont get it.

ok, let me just rephrase my question:
How do I restrict -all- the IPs under the proxy service of http-tunel.com from accessing my site?

LeeU
11-19-2007, 12:01 PM
The only IP address listed with whois is 72.51.27.51, so you could use

deny from 72.51.27.51
in your .htaccess file.

m.munoz
11-19-2007, 12:16 PM
Thanks for that ip, hopefully it works. But I have doubts, cause one IP under http tunnel that I found out, and Im sure of is 209.8.233.63

LeeU
11-19-2007, 01:41 PM
Then it's probably because most of those "Web sites" on that host are link farms, which many people end up clicking through. That means you would never be able to block them as they could come from anywhere. I have the same problem on one of my sites. After much research, I came to the conclusion that, short of blocking the inter Internet, I couldn't stop them. It's kind of like the court house has your property address but anyone can go there and find it, and then come to visit you. You can't stop them because these people are coming from other places, not the court house, even though that is where they got your address.

m.munoz
11-19-2007, 11:09 PM
Ok, I get it now. Might as well wait for the buggers to stop visiting my site. Though so far, most of them have stopped returning after I banned all their IPs that Ive recorded, thanks to you.

LeeU
11-20-2007, 09:53 AM
The only thing to remember is that the ones you banned may have come through the other site by accident and then decided that liked your site and may return. They're not the enemy, it's the site owner you have the problem with. You might be missing out on return visitors/customers. You might want to carefully think about it.

m.munoz
11-22-2007, 10:28 PM
That's ok, Id rather sacrifice a few good visitors than to have my site sabotaged again.