Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Do i block Iran + Saudi Arabia

  1. #11
    TopDogger's Avatar
    TopDogger is online now Über Hund
    Join Date
    Jan 2009
    Location
    Hellfire, AZ
    Posts
    3,029
    Thanks
    345
    Thanked 901 Times in 689 Posts
    Quote Originally Posted by Aquarezz View Post
    Using country codes in the .htaccess - that's an interesting method that I was not aware of.

    I've always used IP addresses, but that gets messy sometimes.
    Last edited by TopDogger; 20 June, 2010 at 13:22 PM.
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin


  2. #12
    Tracehide is offline Newbie Net Builder
    Join Date
    Jun 2010
    Posts
    29
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Would someone be willing to install Geo IP on tracehide for like $2 because thats all i have on my paypal and i really need to ban these countries..

  3. #13
    Glypus is offline Naturally Straight Edge
    Join Date
    Jun 2009
    Location
    Secret
    Posts
    209
    Thanks
    21
    Thanked 21 Times in 17 Posts
    I generally didn't block those countries except in some experiments. Didn't think it necessary and almost always had some spare bandwidth. Better lots of low paying clicks from Iran than none at all.

    On some level, I guess it makes me a supporter of internet access freedom for people in all countries rather than a ruthless penny pinching profiteer.

    But if bandwidth or server stability is an issue, you might want to ban them and other low paying countries.

    Quote Originally Posted by Tracehide View Post
    Would someone be willing to install Geo IP on tracehide for like $2 because thats all i have on my paypal and i really need to ban these countries..
    Better to read these threads for info and do it yourself. Rather easy, but until you do it successfully once, it may seem intimidating.

    http://programmerdot.com/17/maxmind-geoip-php.htm

    Block Countries with Geoip Lite (Easiest Way)

    How to install GeoIP and block foreign traffic
    Best proxy hosting ever - Almost Zero downtime + Superfast Use coupon "TEWD" for 50% off for lifetime

  4. #14
    Zash's Avatar
    Zash is offline WiredStorm.com - Lightning Fast Web Hosting
    Join Date
    Feb 2009
    Location
    New York, USA
    Posts
    1,137
    Blog Entries
    1
    Thanks
    64
    Thanked 121 Times in 93 Posts
    While that may be true, some advertisers require that you ban countries (like Adversal), and I'd rather block some people from browsing my proxy than have my AdSense account smartpriced for all of my websites.

    In addition, it's recommended to block countries like Nigeria simply because that's where most fraud occurs and to help you stay out of legal trouble.
    WiredStorm Hosting Solutions
    █ Lightning Fast Shared and Reseller Hosting
    █ cPanel with Softaculous and 24/7 Email (Ticket) Support
    Biodegradable Sunscreen - Unblock Facebook

  5. #15
    Glypus is offline Naturally Straight Edge
    Join Date
    Jun 2009
    Location
    Secret
    Posts
    209
    Thanks
    21
    Thanked 21 Times in 17 Posts
    Quote Originally Posted by Zash View Post
    In addition, it's recommended to block countries like Nigeria simply because that's where most fraud occurs and to help you stay out of legal trouble.
    That was never a problem for me. Never got any notable amount of Nigerian traffic. The handful that visited didn't seem to cause any trouble.
    Best proxy hosting ever - Almost Zero downtime + Superfast Use coupon "TEWD" for 50% off for lifetime

  6. #16
    Habaku's Avatar
    Habaku is offline Newbie Net Builder
    Join Date
    May 2009
    Posts
    447
    Thanks
    95
    Thanked 47 Times in 40 Posts
    Quote Originally Posted by Tracehide View Post
    Would someone be willing to install Geo IP on tracehide for like $2 because thats all i have on my paypal and i really need to ban these countries..
    I might do it for you, provided that your hosting has Cpanel.

    Regards,
    H.

  7. #17
    Tracehide is offline Newbie Net Builder
    Join Date
    Jun 2010
    Posts
    29
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks guys,. Zash helped me out with this and i got it all resolved!

  8. #18
    SaturnLight is offline Unknown Net Builder
    Join Date
    Jun 2010
    Posts
    47
    Thanks
    31
    Thanked 0 Times in 0 Posts
    This look right?

    Code:
    GeoIPEnable On
    
    # Redirect multiple countries to a single page
    RewriteEngine on
    RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|TW|HK|SA|IR|NG)$
    RewriteRule ^(.*)$ http://sendhere.com$1 [L]

    any tips to test that it works?

  9. #19
    Habaku's Avatar
    Habaku is offline Newbie Net Builder
    Join Date
    May 2009
    Posts
    447
    Thanks
    95
    Thanked 47 Times in 40 Posts
    Quote Originally Posted by SaturnLight View Post
    This look right?

    Code:
    GeoIPEnable On
    
    # Redirect multiple countries to a single page
    RewriteEngine on
    RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|TW|HK|SA|IR|NG)$
    RewriteRule ^(.*)$ http://sendhere.com$1 [L]
    any tips to test that it works?
    Testing is easy: Add your own country and verify that you are being sent to http://sendhere.com, than remove your own country from (CN|TW|HK|SA|IR|NG|<your own country>).

  10. Thanked by:

    SaturnLight (3 July, 2010)

  11. #20
    JemsRoker's Avatar
    JemsRoker is offline Unknown Net Builder
    Join Date
    Jun 2010
    Location
    India
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah I got here information for country block but is there any process for city block?
    Xigmapro Software is an ‘A to Z' web Development Company offering quality web services such as Website Design, Logo design , Search Engine Optimization

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Free Journalists and Writers in Iran
    By Kovich in forum Politics and Religion
    Replies: 0
    Last Post: 25 March, 2010, 14:34 PM
  2. [WTS] Iran Domain Names Best Offer Secures
    By britishguy in forum Domains
    Replies: 0
    Last Post: 12 February, 2010, 06:13 AM
  3. 90% of traffic from Iran. Possibility of Smart Pricing?
    By ProxySites.ca in forum Web Proxies
    Replies: 8
    Last Post: 16 August, 2009, 21:35 PM
  4. Still getting traffic from Iran?!
    By Stylosa in forum Web Proxies
    Replies: 8
    Last Post: 11 April, 2009, 00:11 AM
  5. Got spare Iran traffic?
    By trizi in forum Web Proxies
    Replies: 4
    Last Post: 3 February, 2009, 12:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •