ServerRoot 은 아파치가 설치되어 있는 경로를 말하는 것이며
DocumentRoot 은 홈페이지가 올라가는 경로 입니다.
둘의 경로는 당연히 DocumentRoot 가 한단계 아래가 되겠죠.
<a href=http://210.119.150.32/~cgi2/cgi-bin/CrazyWWWBoardLE.cgi?mode=read&num=8&db=explor&backdepth=1 target=_blank>htt
pd.conf 파일 설정</a> 참조 : # apache 환경설정에서
: #
: #(1) access.conf 파일
: <Directory /usr/local/etc/httpd/htdocs>
: # Directory에 지정된 디렉토리를 서버의 홈디렉토리로 지정
: Options Index ....
: .....
: </Directory>
:
: # -----------------------------------------------
: #(2) httpd.conf 파일
: ServerRoot /usr/local/etc/httpd
: DocumentRoot /usr/local/etc/httpd/htdocs
: # 환경 설정을 하다 보면
: # (질문1)ServerRoot와 DocumentRoot 차이를 모르겠습니다.
: # (질문2)둘의 경로가 달라도 됩니까?
:
: # (질문3) (1),(2)환경 파일경로가 동일해야 하는지?
: # DocumentRoot와 어떤관계인지 궁금합니다.