how to ban countries?

Discussion in 'Site & Server Administration' started by bpriu, Jun 10, 2008.

  1. #1
    Hello

    is there a way to ban specific countries? i've seen some websites doing this.
    thanks
     
    bpriu, Jun 10, 2008 IP
  2. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
  3. petrh

    petrh Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello bpriu,

    if you use apache as webserver, the best way is to use GeoIP module in Apache and block traffic via this module. It works very well.

    More you can find at http://www.maxmind.com/app/mod_geoip

    Petr
     
    petrh, Jun 11, 2008 IP