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