当目录下没有index.html index.php时候,
目录下的所有文件都以列表形式列出来
目录下放个空的index.html文件,在页面里面跳转到你需要的地方去
例如:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="refresh" content="0; url=product/login.php" />
<title>产品后台</title>
</head>
<body>
<script type='text/javascript'>
if(window.self!=window.top){
window.top.location = window.self.location;
}
</script>
</body>
</html>