서브도메인숨기기
편법이긴 하지만..아이프레임을 이용하는 방법입니다.
제가 필요해서.. 찾았는데 공유하기위해 올립니다.
<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개
12년 전
문제는...
<? $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로 넘어가 버려서 문제입니다.
<? $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로 넘어가 버려서 문제입니다.
iwebstory
12년 전
이건 오래된 소스인데... 그리고 이건 아이프레임이 아닌데..
게다가 이건 보안 등에도 별로 안좋은 방식이라 피해야는데....
게다가 이건 보안 등에도 별로 안좋은 방식이라 피해야는데....
게시글 목록
| 번호 | 제목 |
|---|---|
| 34706 | |
| 34693 | |
| 34563 | |
| 34536 | |
| 34521 | |
| 34480 | |
| 34479 | |
| 34466 | |
| 34437 | |
| 34436 | |
| 34435 | |
| 34406 | |
| 34398 | |
| 34387 | |
| 34382 | |
| 34375 | |
| 34364 | |
| 34336 | |
| 34294 | |
| 34293 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기