View Single Post
Old 2006-03-28, 12:42 AM   #1
Jel
I'm the only guy in the world who has to wake up to have a nightmare
 
Jel's Avatar
 
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
Block certain domains via htacess

Hi Guys,

This musta been asked before but I can't track the answer down using the search function, apologies.

I have a few domains sending me worthless traffic to galleries they have picked up from TGP's and I want to block their traffic. I googled and got:

order allow,deny
deny from .domain.com
deny from .domain.com
deny from .domain.dk
allow from all

which didn't work, so I tried:

order allow,deny
allow from all
deny from .domain.com
deny from .domain.com
deny from .domain.dk

but no dice there either - wrong instructions, or dumb mistake somewhere?

Thanks in advance

btw what should I be seeing when I click a link from those place - 403 forbidden or...?
Jel is offline   Reply With Quote