IIS 환경에서 URL 경로가 이상해지는 현상
관련링크
본문
안녕하세요? IIS 8.5 + PHP 5.3.28 + MariaDB 5.5 환경에서 그누보드를 설치하여 구동 중입니다.
그런데, 설치할때 부터 이상한 점이 설치하기 버튼을 누르면
"http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/install/" 이런 형태로 치환이 되어버리더군요.
그냥 무시하고 install 폴더를 직접 액세스하여 설치까지는 성공 했습니다만, 설치 후에 모든 이미지가 엑스박스 처리가 되었고 CSS 까지 위 링크와 같이 치환되어 원할한 운영이 불가능한 상태였습니다.
MIME 형식을 추가하기전에 설치를 하였는데, 혹시 MIME 형식 추가 후에 설치를 하여야 하는건지 궁금하네요..
해결 방법 없을까요?
답변 2
무슨 말인지 알수가 없네요..
C:\inetpub\wwwroot\gnu
여기에 그누보드 모든 파일을 넣으신후
C:\inetpub\wwwroot\gnu 경로인 http://ws2.oceanix.kr/gnu <-- 이렇게 실행을 하면 설치가 진행이 됩니다.
따로 /install 디렉토리까지 입력해서 설치하지 않습니다.
http://sir.co.kr/bbs/board.php?bo_table=faq&wr_id=4&s_tag=%EA%B7%B8%EB%88%84%EB%B3%B4%EB%93%9C5
<--설치 관련 메뉴얼 참고 하세요.
<link rel="stylesheet" href="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/css/default.css">
<link rel="stylesheet" href="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/skin/connect/basic/style.css">
<link rel="stylesheet" href="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/skin/outlogin/basic/style.css">
<link rel="stylesheet" href="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/skin/popular/basic/style.css">
<link rel="stylesheet" href="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/skin/visit/basic/style.css">
var g5_url = "http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu";
var g5_bbs_url = "http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/bbs";
<script src="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/js/jquery-1.8.3.min.js"></script>
<script src="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/js/jquery.menu.js"></script>
<script src="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/js/common.js"></script>
<script src="http://ws2.oceanix.kr/gnu/index.phpC:/inetpub/wwwroot/gnu/js/wrest.js"></script>
위에 부분 뿐만 아니라 모든 파일들의 경로및 이미지 경로들도 다 달라서 깨집니다.
강제로 맞추려면 위에 부분의 소소들을 맞는 경로로 수정하시면 될거 같네요.