httpd.conf 설정에 관해서 물어보겟습니다.
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName 211.189.000.000:2008
#
# 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 "/home/www_bak"
이런식으로 httpd.conf 설정후 아파치 리스타트 실행후 홈페이지에 접속했는데 저기서 설정한 DocumentRoot "/home/www_bak"에서의 index.php 파일이 뜨는게 아니라
다른 페이지가 뜨는데 httpd.conf설정을 어떻해 해야하는지좀 알려주세요..
기본 인덱스 파일로
기본 인덱스 파일로 index.php 가 지정돼있지 않아서 그런게 아닌가 싶네요
---------------------------------------
http://www.waitfor.com/
http://www.textmud.com/
기본인덱스
기본인덱스파일로 지정이 안돼있으면 에러페이지가 떠야할텐데
에러 페이지가 뜨는게 아니라 메일서버 페이지가 뜨는데...혹 virtualhost설정을 안해줘서 그런가요?
댓글 달기