"; $is_extranet = ereg("(^extranet\.)(.*)", $_SERVER['HTTP_HOST'], $found); $is_stats = ereg("(^stats\.)(.*)", $_SERVER['HTTP_HOST'], $found); if ($is_extranet || $is_stats) $dom=$found[2]; if ($is_extranet) Header ("Location:https://".$HOSTNAME.":8443"); elseif ($is_stats) Header ("Location:http://www.".$dom."/plesk-stat/webstat/"); else { ?> ducati réseau assurance