you can do this with php pretty easily. Something like this:
<?php
ereg("\.([a-z]+)$", $country, $regs);
switch ($regs[1]) {
case "uk": header("Location:
http://....uk site"); break;
case "es": header("Location:
http://...spain site"); break;
default: header("Location:
http://...default site");
}
?>
Tim