Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-30-2009, 07:56 PM   #1
trevesty
Confirmed User
 
trevesty's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Midwest
Posts: 3,806
mod geo IP question..

so, I'm currently redirecting chinese traffic to passwordbyphone.. how do i do multiple countries?

turkey and other middle eastern countries to be precise. pakistan etc.

thanks.

pic for your help ;)

trevesty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 08:06 PM   #2
cLin
Registered User
 
Industry Role:
Join Date: May 2009
Location: Orange County, CA
Posts: 94
But she's telling me not to say anything!
__________________
Chris
The Ex Girlfriend Pics
cLin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 08:10 PM   #3
trevesty
Confirmed User
 
trevesty's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Midwest
Posts: 3,806
Quote:
Originally Posted by cLin View Post
But she's telling me not to say anything!


I knew that pic would backfire after I posted it
trevesty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 08:12 PM   #4
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
http://translate.google.com/translat...-geoip-module/

That's the best info I can find.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 08:24 PM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
send all non billable countries to passwordbyphone

Code:
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} (aa|ab|af|am|ar|as|ay|az|ba|be|bh|bi|bn|bo|br|ca|co|dz|fa|gn|gu|ha|hi|kk|km|ku|ky|lo|lt|lv|mg|mi|mk|ml|mn|mo|mr|ms|mt|my|na|ne|oc|om|or|pa|qu|rn|ru|rw|sa|sd|sg|si|sn|so|ss|st|su|sw|ta|te|tg|th|ti|tk|tl|tn|to|tr|ts|tt|tw|uk|ur|uz|vi|vo|wo|xh|yo|zh|zu) [NC]
RewriteRule .* http://www.pinaccesscode.com/?layout=general_straight&rid=AFFILID [R,L]
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 08:39 PM   #6
trevesty
Confirmed User
 
trevesty's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Midwest
Posts: 3,806
Quote:
Originally Posted by Babaganoosh View Post
thanks
trevesty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 10:05 PM   #7
Altheon
Confirmed User
 
Altheon's Avatar
 
Join Date: May 2004
Posts: 506
Here is what I put in my .htaccess

Code:
<IfModule mod_geoip.c>
# Russia
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^RU$ [OR]
# United Arab Emirates
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AE$ [OR]
# China
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$ [OR]
# Saudi Arabia
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SA$ [OR]
# Turkey
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TR$ [OR]
#Egypt
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^EG$ [OR]
#Pakistan
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^PK$ [OR]
#my Malaysia
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MY$ [OR]
#Hungary
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^HU$ [OR]
#Romania
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^RO [OR]
#Taiwan
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TW [OR]
#Indonesia
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^ID [OR]
#Philippines
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^PH [OR]
#Colombia
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CO [OR]
#Argentina
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AR [OR]
#Thailand
#RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TH [OR]
#Chile
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CL [OR]
#Ukraine
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^UA$
RewriteRule ^(.*)$ http://YourRedirectURL.com [L]
</IfModule>
Altheon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.