Prova con questo
codice:<?php if (strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone') !== FALSE) || (strpos($_SERVER['HTTP_USER_AGENT'], 'iPod') !== FALSE) { header('Location: http://ipod.miosito.it'); } else { header('Location: http://www.miosito.it/pagina_normale.htm'); } ?>