



session_start(); function red($location) { header("Location: $location"); } if($_SERVER['HTTP_HOST'] != "easymu.biz") { red("http://easymu.biz"); } if(empty($_SERVER['HTTP_X_FORWARDED_PROTO']) || $_SERVER['HTTP_X_FORWARDED_PROTO'] == "http"){ $redirect = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; header('HTTP/1.1 301 Moved Permanently'); header('Location: ' . $redirect); exit(); } ?>