답변 2개 / 댓글 1개
채택된 답변
+20 포인트
6년 전
../../ 하면 경로상 문제가 나올수 없습니다.
답변에 대한 댓글 1개
6년 전
6년 전
public_html/plug/file/index.js 는 서버내에 js 가 있는 경우 입니다.
public_html/plug/내문서.html 일경우 -내문서내 ( ./file/index.js )
public_html/mlang/내문서.html 일경우 -내문서내 ( ../plug/file/index.js )
public_html/mlang/내사랑/내문서.html 일경우 -내문서내 ( ../../plug/file/index.js )
답변을 작성하려면 로그인이 필요합니다.
만약에 public_html/plug/file/index.js 에서 불러올려면 ../../../../해서 상위로 빠져나가서 접근을 하면 되는거네요?