Viewing File: /usr/local/cpanel/base/unprotected/redirect.html
<html>
<head>
<link rel="shortcut icon" href="/unprotected/favicon.ico" type="image/x-icon">
<script type="text/javascript">
var goto_uri = getParameterByName('goto_uri');
var origin = (window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port : ''));
// Only permit relative urls
if (goto_uri && goto_uri.match(/^\//)) {
window.location.href = origin + encodeURI(goto_uri);
} else {
window.location.href='/';
}
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
</script>
<meta http-equiv="refresh" content="10;/" />
</head>
<body>
</body>
</html>
Back to Directory
File Manager