2010. 4. 6. 23:58
반응형
apache Start시 DocumentRoot를 directory 로 지정했음에도 에러가 날때..

Starting httpd: Syntax error on line 275 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory

문제는 SELinux 보안 정책때문에 해당 디렉토리가 있음에도 찾지 못한 것입니다.

chcon -R -t httpd_user_content_t /home/admin/www

출처 : http://www.linux.co.kr/home/superuserboard/view.html?id=1628&code=apache&start=0
반응형

'Servers' 카테고리의 다른 글

linux 관리자가 알아두어야할 50가지 사항  (2) 2010.04.07
유용한 find 사용 방법  (2) 2010.04.07
tomcat 한글 인코딩 세팅  (1) 2010.04.07
tomcat 배포시 다른경로 관련 xml  (1) 2010.04.07
apache tomcat 연동  (3) 2010.04.06
Posted by seongsland