오늘은 대한입니다.
sun's longitude:299 35 52.47 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/delete.php:소스보기  

질문과 답변 게시판입니다.

현재 실시간으로 이곳 서버의 설정파일(몇개)를 보여주고 있습니다.
서버의 설정내용에 관한 질문은 먼저 이곳 서버의 설정내용을 참고하시길 바랍니다.

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
 ★ 글 지우기 항목입니다. 한번 더 생각하시고 결정하십시오.!!!
제목 5571 번 글의 답장글 : Re: 답글 정말 고맙습니다.
 이름  산이 [홈]http://linuxchannel.net/

NAT 에서 N 포트로 포워딩하고 있다면
웹서버에서는 N 포트로 설정해야 합니다.


[조동환]님이 남기신 글:

>답글을 주셔서 정말 고압습니다.
>
>한가지 의문이 있읍니다.
>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(묶기)할 수 없다는 의미입니다.
>> 
>
>========================================
> 

========================================


2004년 10월 07일 18:52:56 목(저녁)  from 61.254.75.78
0
암호: 공용 보안 SSL 서버가 준비되기 전까지는 off 합니다

apache lighttpd linuxchannel.net 
Copyright 1997-2026. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds