jason New Member Dec 5, 2003 #1 i want to block one domain via htaccess, how would i do this? i tried looking up info but just found stuff on block extentions and ip numbers.
i want to block one domain via htaccess, how would i do this? i tried looking up info but just found stuff on block extentions and ip numbers.
Jan Forum Cleaner NLC Dec 6, 2003 #2 I always use this handy code generator http://htmlbasix.com/blockusers.shtml Just key in the domain you want to block.
I always use this handy code generator http://htmlbasix.com/blockusers.shtml Just key in the domain you want to block.
L Loon New Member Dec 13, 2003 #3 Assuming you have use of mod_rewrite which you should do: Code: RewriteEngine on Options +FollowSymlinks RewriteCond %{HTTP_REFERER} domain\.com RewriteRule .* - [F]
Assuming you have use of mod_rewrite which you should do: Code: RewriteEngine on Options +FollowSymlinks RewriteCond %{HTTP_REFERER} domain\.com RewriteRule .* - [F]