Ip range blocking

Discussion in 'Search Engine Optimization' started by n2nell, Nov 15, 2007.

  1. #1
    Hi all i got some users joining my sites and refresh it 200/300 times, seems they are sleeping on F5 Key.. :confused: is there any way to block some countries entry to my site? MAybe with htaccess

    Thank You
     
    n2nell, Nov 15, 2007 IP
  2. YoungMaster

    YoungMaster Peon

    Messages:
    330
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Why don't you just block the individual IP's with .htaccess? Is it more than just a few people?

    Either way, I think this will handle it.

    <Limit GET HEAD POST>
    order allow,deny
    deny from xxx.xxx.x.x
    allow from all
    </LIMIT>

    In place of xxx.xxx.x.x you should put an IP address if you want to block an individual, or use a partial IP if you want to block a range of IP's.

    Hopefully that works for ya. If not then you should head over to the Apache Forum.
     
    YoungMaster, Nov 16, 2007 IP
  3. lkj

    lkj Peon

    Messages:
    729
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    check out www.ipdeny.com with free IP data block downloads. I think they are updated very often.
     
    lkj, Nov 16, 2007 IP