Using mod_rewrite, i want to rewrite the url depending on the country (not language) from the http header.
ie.
if http header country = US, /foo/us
I can't work out how to get the country. I'm currently doing it in java using request.getLocale().getCountry()so it must be possible.
Anyone know how?