Results 1 to 15 of 15
  1. #1
    Join Date
    Jan 2003
    Location
    Spain
    Posts
    157

    must stop this leecher .. but how?

    This month my hits have risen to 4 million but I still only get about 500 visitors a day. I've found one site that is using alot of my smileys and it's a busy site too. I'm trying to use .htaccess to block the site from using my smileys but to no avail, my current .htaccess looks like this:

    deny from suicideforum.com (test to see if it works)
    deny from ezboard.com (another leecher)
    deny from miarroba.com (the offending site, leeching loads of my smileys)

    ErrorDocument 404 http://www.spacespider.net/404.php
    ErrorDocument 403 http://www.spacespider.net/403.php

    I've tried:
    deny from .suicideforum.com
    and:
    deny suicideforum.com

    checked to make sure the .htaccess file is chmod 644

    but its not working.

    you can see the test site with these two links:
    http://www.suicideforum.com/showthre...2478#post22478
    http://suicideforum.com/test.html
    (The miarroba one keeps changing so its hard to show you it not working)

    I've tried adding :
    order allow,deny
    to the .htaccess file cause I'm working from this page:
    http://www.javascriptkit.com/howto/htaccess5.shtml
    It just makes my site a 500 error.

    I've tried adding a copy of the .htaccess file into the folder where the smileys originate but no joy

    I've tried using the websites ip address only that didn't work and i tried adding http:// to the domains .. another 500 error

    what am i doing wrong?

    any help would be appreciated .. thanks.

  2. #2
    Join Date
    Sep 2004
    Location
    Miami, FL
    Posts
    2,762
    Know of something called as IPTABLES?

    Just deny the IP from that site to connect to your site. That's all that you have to do and I'm sure you won't have any other problems with that site.

    Have fun... take care... Good Luck!
    Aaron Ong
    Dedicated Servers - 100TB Servers - 100Mbps Unmetered Servers - Web Hosting - CDN Network
    Servers in Central, East/West Coast USA, EUROPE and ASIA
    Welltodo Century
    - www.welltodocentury.com

  3. #3
    Join Date
    Jan 2003
    Location
    Spain
    Posts
    157
    whats that and how do i use it? theres no option in cpanel to ban sites linking to mine.

  4. #4
    Join Date
    Aug 2004
    Location
    Groton, Connecticut
    Posts
    925
    I think there's a option in cpanel called HotLink Protection. You can try that.....

  5. #5
    Join Date
    Jan 2003
    Location
    Spain
    Posts
    157
    no, I want people to link to my smileys but I don't want THIS site miarroba.com from using my smileys.

    Found a function in cpanel that you type in the domain you want blocked and it resolves the ip then blocks it but that doesn't work either.

    using cpanel to do it for me makes my htaccess file look like this:

    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>

    deny from 216.66.18.47
    deny from 67.18.221.218
    deny from 209.66.118.15

  6. #6
    Join Date
    Jan 2003
    Location
    Spain
    Posts
    157
    oops .. I killed my site

  7. #7
    Join Date
    Jan 2003
    Location
    Spain
    Posts
    157
    okies back up but .htaccess still isnt working .. tried deleting the old one off the server first then uploading the new one .. tried uploading a blank one first and used cpanel to edit the htaccess file .. all no joy

  8. #8
    Join Date
    Sep 2004
    Location
    Miami, FL
    Posts
    2,762
    Originally posted by spacespider
    okies back up but .htaccess still isnt working .. tried deleting the old one off the server first then uploading the new one .. tried uploading a blank one first and used cpanel to edit the htaccess file .. all no joy
    As I said in my PM to you, just msg me on AIM/MSN and I'll try to guide you through on what to do and what to NOT do.

    Take care. Have fun!
    Aaron Ong
    Dedicated Servers - 100TB Servers - 100Mbps Unmetered Servers - Web Hosting - CDN Network
    Servers in Central, East/West Coast USA, EUROPE and ASIA
    Welltodo Century
    - www.welltodocentury.com

  9. #9
    Originally posted by aodat2
    Know of something called as IPTABLES?

    Just deny the IP from that site to connect to your site. That's all that you have to do and I'm sure you won't have any other problems with that site.

    Have fun... take care... Good Luck!
    Lets not assume he owns his own server
    BeeServe
    * Rock solid shared & reseller UK webhosting. No downtime™ *
    Now offering fully managed VPS servers

  10. #10
    Join Date
    Jan 2003
    Location
    Spain
    Posts
    157
    I'm just a shared host user .. htaccess is probably the most complicated thing i ever have to deal with as all of my sites are static .. i only use the php extension cause i like using includes .. saves me modifying 50 pages every time i wanna make a change.

  11. #11
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    Originally posted by spacespider
    whats that and how do i use it? theres no option in cpanel to ban sites linking to mine.
    If your host is using CPANEL PRO then it has something called leech protect and BoxTrapper - you can use those to explicitly block access to linking to your files and images and eating your bandwidth.

    best of all its a simple html form to fill out, and its located in cpanel. Easy to figure out and use.

  12. #12
    Join Date
    Feb 2005
    Location
    New York.
    Posts
    773
    Hot Link Protection in Cpanel. Also Contact your host to see if they can directly block the IP address from the servers end.

    Cpanel pro also has leech protector.

    I would also contact the webmaster of that site and demand that they stop leeching.
    GenerousWebHosting.com Home of Generous George the Red Monster.
    24/7 Live Chat Support - 99.9% Uptime - 30 Day Money Back Policy

  13. #13
    Join Date
    Jan 2003
    Location
    Spain
    Posts
    157
    I've found the solution thanks to a good friend who took time out of his busy schedule to help me out. He found this thread:
    http://www.webhostingtalk.com/showth...=image+linking
    which answers my problem.
    my htaccess now appears like:

    ErrorDocument 404 http://www.spacespider.net/404.php
    ErrorDocument 403 http://www.spacespider.net/403.php

    RewriteEngine On
    RewriteCond %{HTTP_REFERER} ^http://miarroba.com/.* [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://ezboard.com/.* [NC]
    RewriteRule ^.* http://www.suicideforum.com [R,L]

    I dont really understand how it works but apparently the orignal method i tried blocked by ip this method which works blocks by referer, I would have thought blocking the miarroba ip would have stopped any image appearing on the site.

    I couldn't find leech protect or boxtrapper in my cpanel .. all i know is its version 10

    I did have the forwarding site as http://****you.com but sometimes when pasting the url of a smiley straight in the browser directed anyone there though it doesnt seem to be doing that now.

  14. #14
    Join Date
    Feb 2005
    Location
    New York.
    Posts
    773
    It is possible that your host did not add it to your package. You could simply email them requesting it if you explain the situation.

    Best of luck.
    GenerousWebHosting.com Home of Generous George the Red Monster.
    24/7 Live Chat Support - 99.9% Uptime - 30 Day Money Back Policy

  15. #15
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    Yep, Cpanel PRO is still a free addon (for now at least).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •