리눅스 분류
httpd.conf 에서 VirtualHost 설정하다가 지워버렷어요 ㅜㅜ
작성자 정보
- doly 작성
- 작성일
컨텐츠 정보
- 1,564 조회
- 0 추천
- 목록
본문
별 내용은 없는데..
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
위 부분이더라구요..
그리고 가상호스트 예제 하나 마들어 드릴께요^^
<VirtualHost 아이피>
ServerAdmin 서버관리자메일주소
DocumentRoot 문서가있는디렉토리
ServerName 도메인명
ServerAlias www.도메인명
...... 위 알리아스는 여러가 올 수있다.
ErrorLog 에러로그디렉토리포함파일명
CustomLog 엑세스로그디렉토리포함파일명 common
</VirtualHost>
위와 같네요^^
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.