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

가상호스트 포트 질문?

작성자 정보

  • 궁금이 작성
  • 작성일

컨텐츠 정보

본문


ycpa.or.kr:9005 를 mail.ycpa.or.kr로 주소창에 넣으면 나오게 하고 싶은데 어떻
게 해야 하나요?
아무리 named.conf에서 등록하고 존파일이랑 연결 했는데도 불구하고 ycpa.or.kr의
페이지가 뜨는데 어떻게 해야 하나요?

* 이것을 ip로 변형해도 마찬가지네여....

현재 ycpa.or.kr와 ycpa.or.kr:9005 로는 페이지가 뜹니다..

: :  httpd.conf 파일에서
: : -------------------------------------------------------------------------- ----
 NameVirtualHost ip주소:80
 NameVirtualHost ip주소:9005
: : #
: : # VirtualHost example:
: : # Almost any Apache directive may go into a VirtualHost container.
: : # The first VirtualHost section is used for requests without a known
: : # server name.
: : #
: : #<VirtualHost ip주소>
: : #    ServerAdmin webmaster at dummy-host.example.com
: : #    DocumentRoot /www/docs/dummy-host.example.com
: : #    ServerName dummy-host.example.com
: : #    ErrorLog logs/dummy-host.example.com-error_log
: : #    CustomLog logs/dummy-host.example.com-access_log common
: : #</VirtualHost>
: :     <VirtualHost ip주소>
: :     ServerAdmin webmaster at kpanet.or.kr
: :     DocumentRoot /home/jakarta/kpanet402/webapps/ROOT
: :     ServerName ycpa.or.kr
: :     </VirtualHost>
: :
: :     <VirtualHost ip주소:9005>
: :
: :     ServerAdmin webmaster at kpanet.or.kr
: :     DocumentRoot /usr/local/ycpah ==========>솔루션 위치
: :     ServerName mail.ycpa.or.kr
: :     </VirtualHost>
: :
: : --------------------------------------------------------------------- 

위와 같이 설정후 아래와 같이 실행 했습니다.
[root@localhost root]# /usr/local/apache2/bin/apachectl restart
[Wed Mar 30 21:24:38 2005] [error] VirtualHost ip주소:0 -- mixing * ports and
non-*
ports with a NameVirtualHost address is not supported, proceeding with
undefined
results
[Wed Mar 30 21:24:38 2005] [error] VirtualHost ip주소:0 -- mixing * ports and
non-*
ports with a NameVirtualHost address is not supported, proceeding with
undefined
results

위와 같이 에러가 뜨는데 어떻게 해야 할지?

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,138 명
  • 현재 강좌수 :  36,190 개
  • 현재 접속자 :  248 명