헐 오널까지 가상 웹서버 완료해야하는데 쩝 미취겠네염 문서를 찾아보면 어려운건 없던뎅 documentroot 를 /home/linux/htdocs로 잡았는데염 자꾸 /usr/local/apache/htdocs/index.html 파일을 읽어들이네염 -_- nslookup 돌려보면 잘 되요 그러니 httpd.conf에서 설정잡는것이 에러란 얘긴데 도대체 뭐가 틀린건지......... <virtualHost 127.0.0.1> <---- 걍예제임 ServerAdmin linux at babo.com DocumentRoot /home/linux/htdocs ServerName linux.babo.com ScriptAlias /cgi-bin/ "/home/game/htdocs/cgi-bin/" UserDir /home/game/htdocs/ <--- 이부분이 약간 미심적음 -_- Errorlog logs/linux.babo.com-error_log CustomLog logs/linux.babo.com-access_log common ServerAlias *.erevor.com </VirtualHost> 이게 전부거덩여 근데 www.babo.com 의 index.html을 자꾸 읽어들여여 -_- 제발좀 살려주세여 오늘까지 마무리 해야해염 ㅠㅠ;;;
가상 호스트 블록 안에 DocumentRoot 와 ServerName 이 맞게 들어 있는지 확인하고, NameVirtualHost 설정이 필요한지도 보세요. 에러 로그에 찍힌 경로를 보면 어느 설정이 적용됐는지 알 수 있습니다.