리눅스 DocumentRoot 문의 ㅜㅜ 정보
리눅스 DocumentRoot 문의 ㅜㅜ본문
DocumentRoot "/var/www/html"
이부분을 실제 실행시킬 웹문서 위치로 이동시키려고
DocumentRoot "/home/popo/html"
이라고 넣고
service httpd start 를 하면
실패라고 나오면서
httpd (을) 시작 중: Syntax error on line 292 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory
라는 에러가 나옵니다
실제 /home/popo/html 에는 웹문서가 있는데 말이죠 ㅠㅠ
리눅스 어렵다 ㅠㅠ 해결방법 아시는분 답변좀 부탁드립니다
이부분을 실제 실행시킬 웹문서 위치로 이동시키려고
DocumentRoot "/home/popo/html"
이라고 넣고
service httpd start 를 하면
실패라고 나오면서
httpd (을) 시작 중: Syntax error on line 292 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory
라는 에러가 나옵니다
실제 /home/popo/html 에는 웹문서가 있는데 말이죠 ㅠㅠ
리눅스 어렵다 ㅠㅠ 해결방법 아시는분 답변좀 부탁드립니다
댓글 전체
그렇게 하지마시고 나중에 다른 계정을 추가할 수 있도록 이렇게 하세요
DocumentRoot "/home"
그 아래 좀 내려가서
#<Directory "/var/www/html">
--->
<Directory "/home">
주----욱 내려가서
<Directory /home/*/html>
위 사항 외에
www로 http.conf 내용을 검색해보면 고쳐야 좋은(그대로 두어도 되지만) 부분이
보일 것입니다
DocumentRoot "/home"
그 아래 좀 내려가서
#<Directory "/var/www/html">
--->
<Directory "/home">
주----욱 내려가서
<Directory /home/*/html>
위 사항 외에
www로 http.conf 내용을 검색해보면 고쳐야 좋은(그대로 두어도 되지만) 부분이
보일 것입니다
헐 너무 감사드립니다 ㅠㅠ