Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Help Redirecting Traffic

  1. #1
    joel8520 is offline Newbie Net Builder
    Join Date
    Mar 2009
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help Redirecting Traffic

    I have seen the guides on how to stop traffic from china and iran but i would perfer to redirect it to another one of my sites. Can someone please give me a dumbed down version of how to do this?

  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,327 Times in 1,258 Posts
    Which proxy script are you running?
    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. #3
    joel8520 is offline Newbie Net Builder
    Join Date
    Mar 2009
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    phproxy.

  4. #4
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts
    Put this into your .htaccess file
    Code:
    GeoIPEnable On
    GeoIPDBFile /pathtofile/GeoIP/GeoIP.dat
    
    # Redirect countries
    RewriteEngine on
    RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|IQ|NG|IR|SA|TR|BR)$
    RewriteRule ^(.*)$ http://www.centurian.org [L]
    Edit
    Code:
     GeoIPDBFile /pathtofile/GeoIP/GeoIP.dat
    To the path you put your GeoIP file
    can edit out centurian and forward to any site you like though it would be nice if you sent to a location they could find another proxy

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  5. #5
    Aquarezz's Avatar
    Aquarezz is offline Master Net Builder
    Join Date
    Dec 2008
    Location
    Belgium
    Posts
    3,846
    Blog Entries
    4
    Thanks
    683
    Thanked 590 Times in 462 Posts
    Thanks Mr. Bill, I tried it too.. and only did these countries: CN|IR|SA

    But I see this page now: http://abjo.info which isn't good at all... even with a proxy from the USA I see the misconfiguration page...

    How can I make sure this doesn't happen? Do I have to change something?


    Greetz
    |Nico Lawsons

  6. #6
    joel8520 is offline Newbie Net Builder
    Join Date
    Mar 2009
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have a proxy on anouther host with a lot more bandwidth, so thats where i'm gonna send them

  7. #7
    joel8520 is offline Newbie Net Builder
    Join Date
    Mar 2009
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    where do i find my htaccess file? I don't think i have one

  8. #8
    dtkguy's Avatar
    dtkguy is offline Still Learnin'
    Join Date
    Dec 2008
    Posts
    391
    Thanks
    7
    Thanked 164 Times in 108 Posts
    Quote Originally Posted by joel8520 View Post
    where do i find my htaccess file? I don't think i have one
    should be in your root web folder, 'public_html' or whatever your host calls it. if you're using cpanel make sure the option to 'view hidden/system files' is enabled, otherwise you wno't see the .htaccess file with some hosts.

  9. #9
    joel8520 is offline Newbie Net Builder
    Join Date
    Mar 2009
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks dtkguy. I found it but then i get the same problem as Aquarezz

  10. #10
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts
    I do believe this error is caused because mod_setenvif & mod_geoip have to be loaded in httpd.conf though I could be wrong might need a person with more experience to resolve this issue. I know its working on my server so the code is good.

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 12
    Last Post: 23 June, 2010, 04:31 AM
  2. Redirecting Category Pages Help...
    By Alex Fraiser in forum Promoting
    Replies: 2
    Last Post: 11 July, 2009, 13:21 PM
  3. Replies: 1
    Last Post: 6 July, 2009, 09:39 AM
  4. Redirecting permalinks?
    By CoreyFreeman in forum Wordpress
    Replies: 1
    Last Post: 22 June, 2009, 09:46 AM
  5. Myspace redirecting to Google
    By Mr.Bill in forum Web Proxies
    Replies: 0
    Last Post: 29 May, 2009, 02:26 AM

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
  •