Blocking entire countries?

Discussion in 'Apache' started by chelsel, Mar 14, 2007.

  1. #1
    I want to block the top countries from this list of countries:

    http://www.nationmaster.com/graph/cri_sof_pir_rat-crime-software-piracy-rate

    What's the best way to do this using .htaccess?

    I know I won't be able to prevent access through services like anonymizer, but it's a good start to make life difficult for pirates...

    Thanks!
     
    chelsel, Mar 14, 2007 IP
  2. WiredTree Zac

    WiredTree Zac Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2

    Try this site: http://www.ipdeny.com/ipblocks/

    It lists the IP ranges for various countries which you can either set up in your .htaccess or configure in a firewall.
     
    WiredTree Zac, Mar 14, 2007 IP