제가 가상서버호스팅(vps) 를 구입했습니다.
여기는 mysql, php, 아파치 다 설치해서 주네요.
여기까지는 순조롭게 진행되었습니다.
그. 런. 데..
여기서 문제가 생기는데요.
FTP 을 이용해서 index.php 파일을 올리는것에 성공했습니다.
하지만. 이런화면이 출력됩니다.

제가 이렇게 index.php 파일을 만들지 않았습니다.
index.php 파일이 출력이 안되요 ㅠ
출력 되는방법 알려주세요!!!!
|
답변 2개 / 댓글 2개
채택된 답변
+20 포인트
port443
2015-03-13 (금) 00:40:30
centOS 의 httpd.conf 위치는 /etc/httpd/conf/httpd.conf 지요.
아래 링크 참조하셔서 작업 하시면 됩니다.
Principle
2015-03-11 (수) 22:46:38
documentRoot 경로가 님이 생각하시는 경로가 아닌 다른 경로에 지정된것 같습니다.
DocumentRoot경로를 다시 한번 확인하세요
답변에 대한 댓글 2개
bronzetear
2015-03-12 (목) 18:15:27
멋진남자임
2015-03-12 (목) 23:23:28
DocumentRoot 와 /root 는 다릅니다
여기 참고로 보세요
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7
http://www.itzgeek.com/how-tos/linux/centos-how-tos/configure-lamp-on-centos-7-rhel-7.html
http://o6asan.com/blog-e/2014/12/01/first-vps-3-how-to-configure-lamp-on-centos7/
여기 참고로 보세요
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7
http://www.itzgeek.com/how-tos/linux/centos-how-tos/configure-lamp-on-centos-7-rhel-7.html
http://o6asan.com/blog-e/2014/12/01/first-vps-3-how-to-configure-lamp-on-centos7/
답변을 작성하려면 로그인이 필요합니다.
[root@localhost ~]#
여기에 올렸습니다. root 는 맞는거 같은데.