질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

아파치 2.xx에서 포트별 가상호스트

작성자 정보

  • 김영철 작성
  • 작성일

컨텐츠 정보

본문

아파치 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

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,366 명
  • 현재 강좌수 :  37,037 개
  • 현재 접속자 :  231 명