아파치 2.xx에서 포트별 가상호스트
작성자 정보
- 김영철 작성
- 작성일
컨텐츠 정보
- 1,927 조회
- 0 추천
- 목록
본문
아파치 2.xx에서 포트별 가상 호스트를 잡을려고 하는데 잘 안되네요..
자문 부탁드립니다.
=== httpd.conf ====
Listen 80
Listen 8888
.......................(생략)
ServerName 192.168.10.140
......................(생략)
NameVirtualHost 192.168.10.140
<VirtualHost 192.168.10.140>
ServerAdmin webmaster@192.168.10.140
DocumentRoot /home/www/test80
ServerName 192.168.10.140
ErrorLog logs/test80-error_log
CustomLog logs/test80-access_log common
</VirtualHost>
<VirtualHost 192.168.10.140:8888>
ServerAdmin webmaster@192.168.10.140
DocumentRoot /home/www/test8888
ServerName 192.168.10.140
ErrorLog logs/test8888-error_log
CustomLog logs/test8888-access_log common
</VirtualHost>
=========================================================
위와같이 설정하고 아파치를 재가동 시키면 아래와 같은 메세지가 뜹니다.
[Thu Jul 08 16:10:23 2004] [error] VirtualHost 192.168.10.140:8888 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
관련자료
-
이전
-
다음