Danny
18-07-2004, 00:39/12:39AM
Hi all,
I'm getting more and more hits from some wacko probably in an attempt to have his (clients) sites show up in my referrer files.
Stupid b'coz i dont even post my referrers on any page.
Still, this is using resources and i don't want those sites to add up an additional hit.
I'm on a Apache server so i already put this in my .htaccess file :
deny from 999.999.999.999
where 999.999.999.999 is substituted by the ip address that i want to disallow access to my site.
This results in a 403 error which is fine already.
Now, i would like to redirect the traffic coming from a couple of ip-adresses towards their own site.
That should be do-able by using a "rewritecond" in the .htaccess file but i'm not familiar with that.
Can anyone help me out on this ?
Thanks
I'm getting more and more hits from some wacko probably in an attempt to have his (clients) sites show up in my referrer files.
Stupid b'coz i dont even post my referrers on any page.
Still, this is using resources and i don't want those sites to add up an additional hit.
I'm on a Apache server so i already put this in my .htaccess file :
deny from 999.999.999.999
where 999.999.999.999 is substituted by the ip address that i want to disallow access to my site.
This results in a 403 error which is fine already.
Now, i would like to redirect the traffic coming from a couple of ip-adresses towards their own site.
That should be do-able by using a "rewritecond" in the .htaccess file but i'm not familiar with that.
Can anyone help me out on this ?
Thanks