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

Thread: Do i block Iran + Saudi Arabia

  1. #11
    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
    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
    Join Date
    Jun 2009
    Location
    Secret
    Posts
    209
    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
    Join Date
    Feb 2009
    Location
    New York, USA
    Posts
    1,137
    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
    Join Date
    Jun 2009
    Location
    Secret
    Posts
    209
    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
    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
    Thanks guys,. Zash helped me out with this and i got it all resolved!

  8. #18
    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
    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. #20
    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, 07: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, 13: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
  •