가상 호스트 관련 질문입니다.
작성자 정보
- 相思花 작성
- 작성일
컨텐츠 정보
- 1,819 조회
- 0 추천
- 목록
본문
안녕하세요.
가상호스트(가상디렉토리라는 말이 더 맞을 듯...) 설정이 잘 안되서 질문을 드립니다.
예를 들어,
/export/home/root -> 요기가 본 홈페이지 들어갈 곳.
/export/home/hahaite -> hahaite 계정 공간
이라고 했을 때,
http://211.119.247.117 이렇게 하면 root 에 잘 접근하는데요.
http://211.119.247.117/hahaite 라고 하면, hahaite 계정이 만든 홈페이지에 접근을 못합니다.
이렇게 만들어주고 싶은데요.
조언 주시면 고맙겠습니다.
아래는 httpd.conf 파일 주요부분입니다.
======================================================
.
.
BindAddress *
.
.
ServerName 211.119.247.117
.
.
NameVirtualHost 211.119.247.117:80
NameVirtualHost 211.119.247.117
<VirtualHost 211.119.247.117>
DocumentRoot /export/home/root
ServerName 211.119.247.117
</VirtualHost>
<Directory "/export/home/hahaite/">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
<VirtualHost 211.119.247.117>
DocumentRoot /export/home/hahaite
ServerName 211.119.247.117/hahaite
</VirtualHost>
===============================================
보시고 잘못된 거 있음 지적해 주시면 고맙겠습니다.
그럼, 즐거운 저녁 되세요~~ _(__)_
관련자료
-
이전
-
다음