서버 이전후 생긴 문제점... 정보
서버 이전후 생긴 문제점...본문
다름이 아니라 도메인이 이상합니다.
http://www.rumanis.com/ 입니다.
그런데
http:/아무글자.rumanis.com/ 해도 메인으로 접속이 됩니다.
예) http://dasdqwdewgdfbr342rfwvv.rumanis.com/
왜 이런걸까요?
서버 옴기는게 아니 였는데 ㅠㅠ
http://www.rumanis.com/ 입니다.
그런데
http:/아무글자.rumanis.com/ 해도 메인으로 접속이 됩니다.
예) http://dasdqwdewgdfbr342rfwvv.rumanis.com/
왜 이런걸까요?
서버 옴기는게 아니 였는데 ㅠㅠ
댓글 전체
아무렇게 없는 서브도메인 입력해서 들어오면 http://www.rumanis.com/ 로 돌려보내는 방법 없을까요?
head.sub.php 상단에
if("www.rumanis.com" != $_SERVER[HTTP_HOST]) goto_url("http://www.rumanis.com".$_SERVER[REQUEST_URI]);
if("www.rumanis.com" != $_SERVER[HTTP_HOST]) goto_url("http://www.rumanis.com".$_SERVER[REQUEST_URI]);
정말 감사합니다.