Need .htaccess help blocking sites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spunkmaster
    Confirmed User
    • Jan 2004
    • 2052

    #1

    Need .htaccess help blocking sites

    I have a main stream site thats getting 100,000 referrers each day
    and sucking bandwidth like crazy.

    The referrers are mostly adult sites like members.bangbros.com, yahoo
    and a bunch of other adult sites plus yahoo ?

    It makes zero sense to have these referrers as the site is an article site and the actual visitors show less then 50 per day.

    I'm suspecting someone hijacked a script on the site but I can't figure out'
    which one but this is what I'm guessing.

    What's the .htaccess script to block these referrers ?

    It's not image hotlinking so I already know how to use that to block them and
    I know how to block IP's but how do I block unauthorized use of scripts ?

  • reynold
    Too lazy to set a custom title
    • Oct 2002
    • 51271

    #2
    Dude, that sucks ass. Here's a bump!

    Comment

    • grumpy
      Too lazy to set a custom title
      • Jan 2002
      • 9870

      #3
      here you go

      http://www.htaccesstools.com/
      Don't let greediness blur your vision | You gotta let some shit slide
      icq - 441-456-888

      Comment

      • cones
        So Fucking Banned
        • Feb 2007
        • 571

        #4
        good luck man! I hate shit like that!

        Comment

        • spunkmaster
          Confirmed User
          • Jan 2004
          • 2052

          #5
          Originally posted by grumpy


          Thanks..


          I'm able to block most of the URL's but yahoo and MSN I don't want to block
          so I guess I'll just watch the bandwidth.

          members.yahoo.com is hitting me hard which makes no fucking sense ?


          Here''s what I came up with:



          RewriteEngine on
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?neotokyo.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sun.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?neo.gr.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?coolwhois.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?members.bangbrosnetwork.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?archer-search.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ware-search.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?800-search.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?search-thenet.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?login.asstraffic.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?buddah-search.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?m0sagal.forum.ijijiji.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?last-dragon.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?members.milfhunter.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?members.hugeboobsgalore.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?envision-search.net.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?volcanosearch.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?eagle-search.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?dallas-search.biz.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?centered-search.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?scorpio-search.net.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ameri-feed.com.*$ [NC,OR]
          RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?kiuprevenue.com.*$ [NC]
          RewriteRule .* - [F,L]
          Last edited by spunkmaster; 02-07-2007, 12:22 AM.

          Comment

          Working...