>> Edit article
이름
제목
패스워드
원하시는 게 페이지 두개를 열 수 있는 건지.. 멀티 포트를 사용하시려는 건지 잘 모르겠네요. 주로 한 서버에서 두 개 이상의 도메인으로 된 페이지를 열려면... 버츄얼 호스트를 씁니다. httpd.conf의 맨 마지막에 보면 버츄얼 호스트 설정이 있는데요. NameVirtualHost xxx.xxx.xxx.xxx:80 <VirtualHost www.xxxx.com> ServerAdmin webmaster@xxxx.com DocumentRoot C:/Apache/htdocs ServerName www.xxxx.com ErrorLog C:/Apache/htdocs/logs/error_log CustomLog C:/Apache/htdocs/logs/access_log common </VirtualHost> <VirtualHost www.yyyy.com> ServerAdmin webmaster@yyyy.com DocumentRoot D:/myHome ServerName www.yyyy.com ErrorLog D:/myHome/log/error_log CustomLog D:/myHome/logs/access_log common </VirtualHost> 이런 식으로요. 멀티포트를 연다는 말은 아직 들어본 적이 없어서.. ;; 실제로 잘 쓰이지도 않구요. : httpd.conf에 보면 : : # To help diagnose problems use the Windows NT command NETSTAT -a : # : Port 80 : 이란 항목이 있져? : : 이걸 다중으로 설정할 수 있나여? : Port 80 8080 .... : 이런식으루 다중으루 설정해서 저 포트들을 동시에 사용할 수 있나여? : : 그리구 저 포트에 대응하는 루트 디렉토리를.. : # : DocumentRoot "C:/Apache/htdocs" "D:/myHome" : 형식이야 이게아니겠지만 암튼 : : 여러개루 설정할 수 있나여? : : xxx.xxx.xxx.xxx:80 으루 하면 "C:/Apache/htdocs" : 에 접속되구 : yyy.yyy.yyy.yyy:8080으루 하면 "D:/myHome" : 에 접속되는... -.-;;; : : 갈쳐주십셔~ : : -- : 오늘도 삽질
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved