VirtualHost 를 이용해서 단일호스트에 여러개의 도메인을 호스팅 할때 생기는 에러메세지이다.
[root@chonnom logs]# /etc/init.d/apachectl start [Fri Jan 21 14:17:18 2011] [warn] _default_ VirtualHost overlap on port 80, the first has precedence |
NameVirtualHost 지시어에 이름 기반 가상 호스트를 구성해야한다. 이 문제를 해결하기 위해 httpd.conf 파일에 아래와같이 추가하면된다.
[root@chonnom logs]# vi /usr/local/apache/conf/httpd.conf
NameVirtualHost *:80 ==> 추가 or 주석해제
[root@chonnom logs]# /etc/init.d/apachectl start |