is this possible ???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AM900
    Registered User
    • Jul 2007
    • 97

    #1

    is this possible ???

    a service that would block countries such as nagiria and gahna to a website ??????
  • BV
    wtf
    • Sep 2001
    • 10914

    #2
    sure, very easy with htaccess with the countries you want to block ip addresses ie:

    order allow,deny
    deny from country ip address 1
    deny from country ip address 2
    deny from country ip address 3
    allow from all


    you can get the countries ip address ranges from here: http://www.ipaddresslocation.org/ip_...get_ranges.php


    replace "country ip address 1" with the real ips
    Last edited by BV; 07-24-2007, 02:59 PM.

    Comment

    Working...