CentOS release 6.3 Starting httpd: Warning: DocumentRoot [/home/myhome/public_html/] does not exist [ OK ] 뜰 때 > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

CentOS release 6.3 Starting httpd: Warning: DocumentRoot [/home/myhome/public_html/] does not exist [ OK ] 뜰 때 정보

Linux CentOS release 6.3 Starting httpd: Warning: DocumentRoot [/home/myhome/public_html/] does not exist [ OK ] 뜰 때

본문

[root@localhost home]# /sbin/service httpd restart
Stopping httpd: [  OK  ]
Starting httpd: Warning: DocumentRoot [/home/myhome/public_html/] does not exist [  OK  ]
 
chmod 711 /home/myhome
chmod 755 /home/myhome/public_html
setsebool -P httpd_enable_homedirs 1
chcon -R -t httpd_sys_content_t /home/myhome/public_html
service httpd restart
추천
0

댓글 2개

그 경로의 폴더가 없다는 뜻 인데.... 폴더가 있는지 확인해 보시고 있는데도 불구하고 에러가 나오시는 거라면 아마 기본 디렉토리의 경로를 바꿔서 나올 수도 있으니 새로 경로 잡으시고 그 경로로 가상 디렉토리로 잡아 보세요.
#etc/sysconfig/selinux 화일 열어서 SELINUX=disble 로 설정 하세요..
설정후 리부팅후 다시 해 보시기 바랍니다.
보안설정 해제하시면 됩니다. 잘되시면 답글 달아 주세요.
전체 7
개발자팁 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT