View Single Post
Old 03-29-2005, 09:38 AM  
iwantchixx
Too lazy to set a custom title
 
iwantchixx's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: The Boonies
Posts: 12,860
Quote:
Originally Posted by Lycanthrope
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

hmm, thanks
iwantchixx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote