GeoIP

It is possible to use GeoIP on Gandi Simple Hosting instances, by recovering the value 'X-Country-Code' of the HTTP headers .

The value is returned in the form 'FR', 'EN', 'US', 'GB', etc. defined by the ISO norm 3166. You can find the complete list of country codes on the official website https://www.iso.org/obp/ui/

The country code is returned depending on the IP address of the visitor; both IPv4 and IPv6 addresses are supported.

This feature is useful for example in the event that you want to have a website in several languages, where the language is automatically displayed depending on the county of the visitor.

上一次變更: 2016/05/31 10:23 (外部編輯)