| 2175 번 글의 답장글: 답글 정말 고맙습니다. |
| 글쓴이: 조동환
|
글쓴날: 2004년 10월 07일 11:55:18 목(오전) |
조회: 1456 |
답글을 주셔서 정말 고압습니다.
한가지 의문이 있읍니다.
nat에 속해 있고 prot forwarding만 해주는 경우는 가상호스팅에
문제가
있나요.
보통이렇게 사용하는것이 문제가 없다면 저의 라우터의
포트포워딩을
바꿔보려합니다.
[산이]님이 남기신 글:
>
>[조동환]님이 남기신 글:
>
>>-----------------------------------------
>>답변자가 기본적으로 참고할 내용입니다.
>>- 배포판(옵션) :
>>- 커널버전(옵션)
:
>>- 데몬버전(예: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
>>~
>>
>>아파치설명서대로
했는데 안되네요. 무엇이 문제인지 모르겠읍니다.
>>도움을 부탁드립니다.
>>
>>
>>
>>
>>
>
>========================================
>
>66.120.55.30 을 실제 사용하고 있는 IP 주소로 바꾸어
보세요.
>
>could not bind to address 66.120.55.30 port 80
>
>이 의미는 현재 local 머신에서 66.120.55.30 이 IP 주소에
대해서
>80 포트로 bind(묶기)할 수 없다는 의미입니다.
>
========================================
|
이전글 : Re: 가상호스팅설정문제 name-based virtual hosting
다음글 : Re: 답글 정말 고맙습니다.
|
from 69.108.79.142
JS(Redhands)Board 0.4 +@
|