서브도메인숨기기
편법이긴 하지만..아이프레임을 이용하는 방법입니다.
제가 필요해서.. 찾았는데 공유하기위해 올립니다.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="">
<title> 내홈페이지 타이틀</title>
</head>
<frameset rows="0%,100%" cols="*" border="0" framespacing="0">
<frame src=" scrolling="NO" frameborder="NO" name="no">
<frame src="/index.php" frameborder="NO" name="main" marginwidth="0" marginheight="0" scrolling="auto">
</frameset>
<noframes>
</noframes>
<body>
</body>
</html>
제가 필요해서.. 찾았는데 공유하기위해 올립니다.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="">
<title> 내홈페이지 타이틀</title>
</head>
<frameset rows="0%,100%" cols="*" border="0" framespacing="0">
<frame src=" scrolling="NO" frameborder="NO" name="no">
<frame src="/index.php" frameborder="NO" name="main" marginwidth="0" marginheight="0" scrolling="auto">
</frameset>
<noframes>
</noframes>
<body>
</body>
</html>
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 2개
<? $LastModified = gmdate("D d M Y H:i:s", filemtime($HTTP_SERVER_VARS[SCRIPT_FILENAME]));
header("Last-Modified: $LastModified GMT");
header("ETag: \"$LastModified\""); ?>
위에 소스를 포함해도 ie10에서 새로고침하면 index로 넘어가 버려서 문제입니다.
게다가 이건 보안 등에도 별로 안좋은 방식이라 피해야는데....