Hi, Reference: > From: spggwp7q@xxxxxxxxx > Reply-to: users@xxxxxxxxxxxxxxxx > Date: Sat, 8 Oct 2016 11:34:46 +0200 spggwp7q@xxxxxxxxx wrote: > Hello Julian, > > Thanks for your recommendation. However, my problem is not about how > this mapping should be used or how to detect what language my page > should be displayed in. It's rather about the map not returning any > value when referenced in my Apache configuration. Understood, but mis-use of IP number to country code seems to be growing, so more code that could later get copied & mis-used worries. But if you comment code & feed back to perl script source, more callers can learn IP# to country name should Not over ride HTTP_ACCEPT_LANGUAGE. > > Regards, > > K. > > Am 08.10.2016 um 11:28 schrieb Julian H. Stacey: > > Hi, Reference: > >> From: spggwp7q@xxxxxxxxx > >> Reply-to: users@xxxxxxxxxxxxxxxx > >> Date: Sat, 8 Oct 2016 09:54:01 +0200 > > spggwp7q@xxxxxxxxx wrote: > >> Hello experts! > >> > >> I'm working with a Perl script that should do geoIP mapping (IP to > >> two-letter country code). > > Then please ensure a comment in your code, so callers dont mis-use it: > > "Do Not Assume every inhabitant of a country wants to read the > > language etc of the country the IP# suggests. Environment > > variable HTTP_ACCEPT_LANGUAGE should over ride this IP, to allow for > > eg British in Germany, Poles in London, Spanish in USA etc." Cheers, Julian -- Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable. http://berklix.eu/brexit/#stolen_votes --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx