----------------------------------------------------------------------------
# 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/apache/htdocs"
----------------------------------------------------------------------------
이런 비슷한 내용이 있습니다.
DocumentRoot "/usr/local/apache/htdocs" 를 주석처리 한 후
디렉토리를 원하시는 곳으로 설정하시면 됩니다.
ex)
# 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/apache/htdocs"
DocumentRoot "/home/wondory/public_html"
Re: 아파치 환경 설정에서...
[답변] 홈디렉토리 바꾸기
....apache/conf/httpd.conf 를 열어보면
----------------------------------------------------------------------------
# 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/apache/htdocs"
----------------------------------------------------------------------------
이런 비슷한 내용이 있습니다.
DocumentRoot "/usr/local/apache/htdocs" 를 주석처리 한 후
디렉토리를 원하시는 곳으로 설정하시면 됩니다.
ex)
# 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/apache/htdocs"
DocumentRoot "/home/wondory/public_html"
댓글 달기