간단히 default값으로 띄우는 방법이 있어서 실행해 보았습니다.
1. ServerName new.host.name:80 ---------------------> ServerName nada:80
2. ServerAdmin root@localhost----------------------------> ServerAdmin *******@*******.com
3. Listen 80 ------------------------------------------------------> 이것을 유지해야 설정완료가 됩니다. 만약에 아이피 주소를 쓰면 에라가 생기네요.
# /etc/init.d/httpd start 로 실행시키면 다음과 같은 메세지가 뜨네요.
[root@nada ~]# /etc/init.d/httpd start
Starting httpd: [Fri May 26 16:30:44 2006] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 501 will probably never match because it overlaps an earlier AliasMatch.
[ OK ]
/etc/httpd/conf/httpd.conf 파일의 경고가 생기는 라인입니다.
Alias /icons/ "/var/www/icons/"
#
# This should be changed to the ServerRoot/manual/. The alias provides
# the manual, even if you choose to move your DocumentRoot. You may comment
# this out if you do not care for the documentation.
#
Alias /manual "/var/www/manual" -----------------> 이 라인이 경고가 생기네요. 이 부분은 기본 디폴트 값입니다. 제가 바꾸지도 않았는데 무슨 경고인지... 수동으로 바꿔줘야 하는 것 같습니다.. 그런데 뭘 해줘야 하는지 궁금합니다. 그래도 활성화는 됩니다.
감사합니다.
짧은글 일수록 신중하게.