Results 1 to 7 of 7

Thread: How to use GeoIP on glype ?

  1. #1
    WebEvader's Avatar
    WebEvader is offline Moderator
    Join Date
    Jan 2009
    Posts
    397
    Blog Entries
    2
    Thanks
    166
    Thanked 26 Times in 21 Posts

    How to use GeoIP on glype ?

    Hi,

    I have been trying to find out how to use GeoIP with glype to no success. Please could someone show me where I can find a guide etc ... as alot of proxy owners are using it at the moment I think

  2. #2
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Have you tried Xrvel's Country IP Blocking tutorial?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. Thanked by:

    rome9t9 (10 March, 2009)

  4. #3
    Rizy is offline Newbie Net Builder
    Join Date
    Mar 2009
    Posts
    42
    Thanks
    0
    Thanked 7 Times in 5 Posts
    $country = $_SERVER["GEOIP_COUNTRY_CODE"];
    if (($country == "CN") or ($country == "RU") or ($country == "IR")) {
    header ('Location: http://google.com');
    }
    throw that little code at the top of browse.php
    mind you, thats with geoip installed already.

  5. Thanked by:

    Aquarezz (9 March, 2009), rome9t9 (23 March, 2009), Will.Spencer (9 March, 2009)

  6. #4
    rome9t9's Avatar
    rome9t9 is offline No Longer Loves SEO
    Join Date
    Mar 2009
    Location
    If I tell you, I would have to kill you.
    Posts
    614
    Blog Entries
    4
    Thanks
    168
    Thanked 105 Times in 77 Posts
    Thanks Will for that link..i use downloaded .htacess from blockacountry but i couldn't see any fruitful results..a lot of BW drainage by Iran and Saudi. I hope this one is good.

  7. #5
    WebEvader's Avatar
    WebEvader is offline Moderator
    Join Date
    Jan 2009
    Posts
    397
    Blog Entries
    2
    Thanks
    166
    Thanked 26 Times in 21 Posts
    Thanks for the replies.

    Do you know if there is any other way in which I can redirect traffic ?

  8. Thanked by:

    weirdnessme (10 March, 2009)

  9. #6
    strat is offline Newbie Net Builder
    Join Date
    Mar 2009
    Posts
    47
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Thats what i am trying to figure out now how i can redirect traffic ??

    any ideas?

  10. #7
    nux
    nux is offline Moderator
    Join Date
    Dec 2008
    Location
    Minneapolis
    Posts
    534
    Thanks
    28
    Thanked 77 Times in 54 Posts
    Here's what I do on all my sites:

    GeoIPEnable On
    GeoIPDBFile /usr/share/GeoIP/GeoIP.dat

    # Redirect one country
    RewriteEngine on
    RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|IQ|NG|IR|SA|AG|MY|ID|CL|KW|AE|TR|RU|BR)$
    RewriteRule ^(.*)$ ilron proxy [L]


    Put that in the apache config, or .htaccess

    That will send all your traffic from CN|IQ|NG|IR|SA|AG|MY|ID|CL|KW|AE|TR|RU|BR to my proxy site ilron.com (change this)

    Also, modify the GeoIPDBFile location to where it actually is

  11. Thanked by:

    Will.Spencer (15 March, 2009)

Similar Threads

  1. Google's GeoIP detection massively screwed up
    By Mike-XS in forum Web Proxies
    Replies: 12
    Last Post: 6 April, 2011, 22:12 PM
  2. [Free] FREE PHP GeoIP Country Redirect
    By crivion in forum Scripts
    Replies: 2
    Last Post: 15 March, 2010, 18:56 PM
  3. GeoIP Globally
    By nux in forum Web Hosting
    Replies: 2
    Last Post: 28 October, 2009, 13:33 PM
  4. GeoIP tutorial - block countries..etc
    By Keldorn in forum Programming
    Replies: 0
    Last Post: 22 September, 2009, 08:58 AM
  5. GeoIP doesn't seem to be working?
    By Zash in forum Web Proxies
    Replies: 12
    Last Post: 25 July, 2009, 21:54 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
  •