need help...lech problem

moobymoo

Member
Sep 7, 2007
17
0
51
hello
some of sites are using my images and stealinga llot of my bandwidth and my bandwidth is ending like anything else..i tried allot of things to stop this leech problem but i m unable to do it..i want to place a redirect like that when someone request for this image they get redirect to my site

the image url is like this button.php?u=123
and i want that when user open there site they get redirected to my site..can someone please help me in this serious problem
 

bin_asc

Well-Known Member
Jul 18, 2005
280
0
166
hello
some of sites are using my images and stealinga llot of my bandwidth and my bandwidth is ending like anything else..i tried allot of things to stop this leech problem but i m unable to do it..i want to place a redirect like that when someone request for this image they get redirect to my site

the image url is like this button.php?u=123
and i want that when user open there site they get redirected to my site..can someone please help me in this serious problem
Well, Leech protect from cPanel wouldn`t do any good if the image is loaded through php. Meaning, it`s not a clear .gif/.jpg url line.
 

moobymoo

Member
Sep 7, 2007
17
0
51
so what should i do now..i know this is not happening with me only..many users may have faced this problem in past...so if any of them knows the solution then kindly tell me
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Well, Leech protect from cPanel wouldn`t do any good if the image is loaded through php. Meaning, it`s not a clear .gif/.jpg url line.
One could always do some fancy stuff with PHP and .htaccess so you have a path like /button/123.jpg -not sure how Leech Protection would interact with that though, even though from an external standpoint it would appear to be a static image file.
 

bin_asc

Well-Known Member
Jul 18, 2005
280
0
166
I know what you mean. I`m thinking maybe mod_rewrite and some rewrite rule to work on the already rewritten url ? Only then I see the leech protect working....One more thing moobymoo could try is this. With php you can check the place where the php file is loaded, so if it differs from your domain, you can just have the file deny loading contents.