View Single Post
Old 03-29-2005, 03:16 AM  
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
http://www.maxmind.com/app/geoip_country

RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^HK$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MO$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^MY$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^SG$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^TW$
RewriteRule ^(.*)$ http://www.chinese.url [R,L]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^JP$
RewriteRule ^(.*)$ http://www.japanese.url [R,L]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KP$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KR$
RewriteRule ^(.*)$ http://www.korean.url [R,L]

etc. and so forth
__________________

Last edited by Lycanthrope; 03-29-2005 at 03:18 AM..
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote