<html>
<head>
<script>
if (location.href.indexOf( "http://127.0.0.1")==-1) {
location.href= "about:blank ";
// location.href= "Other ";
}
</script>
</head>
<body>
You can visit by url.
</body>
</html>
设置网站只能通过域名访问,不能通过IP访问
最新推荐文章于 2023-10-08 12:10:18 发布