반응형

1. Apache서버에서 Redirection

<VirtualHost test.co.kr:80>
    ServerAdmin webmaster@test.co.kr
    ServerName test.co.kr
    ServerAlias www.test.co.kr
    DocumentRoot /www/docs/manpage
    ErrorLog logs/test.co.kr-error_log
    CustomLog logs/test.co.kr-access_log common
    Redirect  /  https://www.test.co.kr/
</VirtualHost>

 

 

2. HTML Tag를 이용한 Redirection

<meta http-equiv='refresh' content='0; url=https://www.test.co.kr/index.html' target='_top'>

 

 

3. 자바스크립트를 이용한 Redirection

 

<script>
var url="
https://www.test.co.kr/index.html";
window.location.replace(url);
</script>

 


 

 

반응형
Posted by 공간사랑
,