제로보드 자료모음
글수 9
XE를 설치시 웹서버의 document root에 설치하지 않고
http://도메인/xe 로 설치할 때 http://도메인/ 으로 연결하는 방법
1. 도메인포워딩
document root에 다음과 같이 index.html을 만든다.
이경우 주소창에는 http://MyDomain.co.kr/xe 로 보이게 된다.
2. 프래임사용
document root에 다음과 같이 index.html을 만든다.
주소창에는 항상 http://MyDomain.co.kr/ 로 보이게 된다.
http://도메인/xe 로 설치할 때 http://도메인/ 으로 연결하는 방법
1. 도메인포워딩
document root에 다음과 같이 index.html을 만든다.
<html>
<head>
<meta http-equiv=Refresh content=0;url=http://MyDomain.co.kr/xe>
<title>홈페이지 타이틀</title>
</head>
<body>
</body>
</html>이경우 주소창에는 http://MyDomain.co.kr/xe 로 보이게 된다.
2. 프래임사용
document root에 다음과 같이 index.html을 만든다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="{Context::getLangType()}" xmlns="http://www.w3.org/1999/xhtml">
<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="/xe/index.php" frameborder="NO" name="main" marginwidth="0" marginheight="0" scrolling="auto">
</frameset>
<noframes>
</noframes>
<body>
</body>
</html>
<html lang="{Context::getLangType()}" xmlns="http://www.w3.org/1999/xhtml">
<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="/xe/index.php" frameborder="NO" name="main" marginwidth="0" marginheight="0" scrolling="auto">
</frameset>
<noframes>
</noframes>
<body>
</body>
</html>
주소창에는 항상 http://MyDomain.co.kr/ 로 보이게 된다.
