| 2175 번 글: 가상호스팅설정문제 name-based virtual hosting |
| 글쓴이: 조동환
|
글쓴날: 2004년 10월 06일 08:51:59 수(오전) |
조회: 1645 |
-----------------------------------------
답변자가 기본적으로 참고할 내용입니다.
- 배포판(옵션) :
- 커널버전(옵션)
:
- 데몬버전(예:apache
1.3.27) :
- 데몬설치유형(RPM/컴파일/기타)
:
-----------------------------------------
레드헷리눅스 7.2 커널버전:2.4
apache: 1.3.28 설치유형: 컴파일
가상호스팅이 안됩니다.
가상서버를 연결하면 메인 호스트(www.ttttt.net)가
열립니다.
apache설정내용입니다.
BindAddress *
중략
NameVirtualHost 66.120.55.30
ServerName www.ttttt.net
<VirtualHost 66.120.55.30>
ServerAdmin star@tclck5.com
DocumentRoot /home/clck25/www
ServerName www.ttttt.net
ErrorLog logs/clck25-error_log
CustomLog logs/clck25-access_log common
</VirtualHost>
<VirtualHost 66.120.55.30>
ServerAdmin star@clck5.com
DocumentRoot /home/homenu/www
ServerName www.homeu.com
ErrorLog logs/homeu-error_log
CustomLog logs/homeu-access_log common
</VirtualHost>
<VirtualHost 66.120.55.30>
ServerAdmin star@clck5.com
DocumentRoot /home/implant/www
ServerName www.implant.com
ErrorLog logs/implant-error_log
CustomLog logs/implant-access_log common
</VirtualHost>
<VirtualHost 66.120.55.30>
ServerAdmin star@clck5.com
DocumentRoot /home/ags/www
ServerName ags.ttttt.net
ErrorLog logs/ags-error_log
CustomLog logs/ags-access_log common
</VirtualHost>
하드웨어연결
라우터에서 port forwarding 80,53을 리눅서서버측에
설정.
dns server동작확인: 정상적으로 작동
리눅서서버의 아파치 error_log내용입니다.
[Sat Oct 2 10:15:31 2004] [notice] Apache/1.3.28 (Unix) configured -- resuming
normal operations
[Sat Oct 2 10:15:31 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Oct 2 10:15:32 2004] [notice] SIGHUP received. Attempting to restart
[Sat Oct 2 10:15:32 2004] [warn] NameVirtualHost 66.120.55.30:80 has no
VirtualHosts
[Sat Oct 2 10:15:32 2004] [notice] Apache/1.3.28 (Unix) configured -- resuming
normal operations
[Sat Oct 2 10:15:32 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Oct 2 10:15:32 2004] [notice] SIGHUP received. Attempting to restart
[Sat Oct 2 11:25:39 2004] [error] [client 66.166.34.4] request failed: URI too
long
[Sat Oct 2 13:48:04 2004] [notice] SIGHUP received. Attempting to restart
[Sat Oct 2 13:48:04 2004] [warn] NameVirtualHost 66.120.55.30:80 has no
VirtualHosts
[Sat Oct 2 13:48:04 2004] [crit] (99)Cannot assign requested address: make_sock:
could not bind to address 66.120.55.30 port 80
[Sat Oct 2 13:48:06 2004] [warn] NameVirtualHost 66.120.55.30:80 has no
VirtualHosts
[Sat Oct 2 13:48:06 2004] [crit] (99)Cannot assign requested address: make_sock:
could not bind to address 66.120.55.30 port 80
[Sat Oct 2 14:02:57 2004] [warn] NameVirtualHost 66.120.55.30:80 has no
VirtualHosts
[Sat Oct 2 14:02:57 2004] [crit] (99)Cannot assign requested address: make_sock:
could not bind to address 66.120.55.30 port 80
~
아파치설명서대로
했는데 안되네요. 무엇이 문제인지 모르겠읍니다.
도움을 부탁드립니다.
|
이전글 : Re: Re: Re: 불법적 로그인시도가 지속되고 있습니다...
다음글 : Re: 가상호스팅설정문제 name-based virtual hosting
|
from 69.108.79.142
JS(Redhands)Board 0.4 +@
|