The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need help...lech problem

Discussion in 'General Discussion' started by moobymoo, Sep 11, 2007.

  1. moobymoo

    moobymoo Member

    Joined:
    Sep 7, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Have you tried leech protect?

    In your cPanel interface, go to the "Security" feature block and click on "Leech Protect" and follow the on-screen instructions.
     
  3. moobymoo

    moobymoo Member

    Joined:
    Sep 7, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    yes i tried it and it does not work :(
     
  4. bin_asc

    bin_asc Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  5. moobymoo

    moobymoo Member

    Joined:
    Sep 7, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
  7. bin_asc

    bin_asc Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page