Quote:
Originally posted by http
What do you mean with apache method
I mean redirects based on surfers IP. The IP needs to be looked up in a table holding all ISP's and their IP allocations.
I don't think apache alone can do this. You may confuse geo-location with apache's built in accepted browser language lookup? That doesn't even come close to the accuracy I need.
Oh and I just came across another BS patent. Meanwhile, geo-locating has been patented too, to these folks http://www.digitalenvoy.net
They are currently suing google over this
|
just install mod_geoip
use it with mod_rewrite
GeoIPEnable On
GeoIPDBFile /home/blah/GeoIP.dat
RewriteEngine on
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^JP$
RewriteRule ^(.*)$
http://www.japan.com [L]
that will route all .jp traffic to japan.com
simple