아시는 분들의 도움을 부탁드립니다.
제가 가상호스트를 설정하려고 하는데
제 컴의 아파치 서버는 소스를 컴파일 하여 설치를 하였습니다.
근데 httpd.conf파일의 가상호스트 부분을 설정하고
apachectl을 start또는 restart 를 하려고 해도 되지가 않아요.
전에는 rpm으로 깔아서 하니까 잘 됐거든요.
근데 소스컴파일한 apache는 안돼더라구요
근데 다시 가상호스트 부분을 주석처리하고 다시 start
하면 되거든요
이상하죠?
뭐가 잘못돼서 그런건지 모르겠네요.
아시는 분들의 많은 답변 부탁드립니다.
그럼 즐거운 하루 되세요
제가 httpd.conf파일에 추가한 부분은 다음과 같습니다.
그리고 어떤분이 vhost모듈이 빠져서 그렇다고 하는분이
있는데, 만약 그 모듈을 추가하려면 어떻게 해야 하는지도
알려주세요.
ServerAdmin root at www.soarman.co.kr #DocumentRoot /var/www/html
DocumentRoot /usr/local/apache/htdocs
ServerName www.soarman.co.kr ErrorLog log/error_log
CustomLog log/access_log common
NameVirtualHost 211.37.38.105
ServerAdmin seagulls at seagulls.soarman.co.kr DocumentRoot /usr/local/apache/htdocs/sn
ServerName seagulls.soarman.co.kr
#ServerAlias #www.topweddinghall.co.kr/music1/index.html
ErrorLog log/music1-error_log
CustomLog log/music1-access_log common