internet

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ internet ] in KIDS
글 쓴 이(By): Gizmos (그림이)
날 짜 (Date): 1995년09월15일(금) 01시14분38초 KDT
제 목(Title): [A] 홈페이지 Web에 올릴때 URL은...?



 참고로 저는 NCSA httpd 1.4 를 쓰고 있습니다 .

 CERN인 경우도 이와 비슷합니다. 

 우선   ***/httpd/conf/srm.conf 란 file이 있는데. 

 거기에 보면  이런 게 있어요. 

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.

DocumentRoot /usr/local/WWW/WWW-Home

# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.

UserDir Web-home

# DirectoryIndex: Name of the file to use as a pre-written HTML
# directory index

DirectoryIndex INDEX.html

 첫째 질문 하신 내용에 대한 답은 "UserDir Web-home" 이고요..

 그러니까  http://host.ac.kr/~mine/라고 쓰면은 

 ~/mine/Web-home/INDEX.html 이란 화일을 찾게 됩니다 .

 그리고 http://host.ac.kr/  이렇게 쓰면 

 /usr/local/WWW/WWW-Home/INDEX.html 란 화일을 찾게 됩니다 .

 INDEX.html

 /usr/local/WWW/WWW-Home

 Web-home

 위 세가지는 모두 root 권한이 있는 사람이 해야 합니다 .

 대충 정리가 된 거 같네요. 

 그럼 안녕히 ..

O0o..................
o........
...
.     그림이가

[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.