Copy '/usr/local/lxlabs/kloxo/httpdocs/login/inc2.php' to 'custom-inc2.php' and add at above:
<?php
if($_SERVER["HTTPS"] != "on") {
header("HTTP/1.1 301 Moved Permanently");
header("Location: https://" . $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"] . ":7777");
exit();
}
?>