Quote:
Originally posted by Pipecrew
they want a script that detects the persons country and sends them to an apropriate page i think
|
Country or Language?
From a fresh Apache install the default data directory;
apache_pb.gif index.html.it index.html.ru.cp866
index.html.ca index.html.ja.jis index.html.ru.iso-ru
index.html.cz index.html.kr.iso-kr index.html.ru.koi8-r
index.html.de index.html.lu index.html.ru.ucs2
index.html.dk index.html.nl index.html.ru.ucs4
index.html.ee index.html.nn index.html.ru.utf8
index.html.el index.html.no index.html.se
index.html.en index.html.po.iso-pl index.html.zh.Big5
index.html.es index.html.pt webmagick
index.html.fr index.html.pt-br
index.html.he.iso8859-8 index.html.ru.cp-1251
Now these correspond to the "magic" in the mime
file for browser IDs.
As in;
200 36426 "-" "Mozilla/4.79 [en] (Win98; U)
------------------------------------^^^
Asks for the "EN"glish page, index.html.en
... if you want something that redirects for an ISO
country code, ANY domain based script and the ISO
chart and some typing will get ya what you want.