Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- 컴파일 설치
- 컴파일러 입문
- 렉스 컴파일
- 데이터베이스 갱신
- x윈도우
- alter 명령어
- 리눅스 로그
- mysql 갱신
- mysql 계정생성
- lex 컴파일
- 리눅스
- x-window
- db덤프
- 자동정렬
- db 덤프
- vim 정렬
- mysql alter
- 리눅스 로그 삭제
- db 백업
- 로그 삭제
- lex compiler
- mysql 계정삭제
- vim 자동정렬
- 데이터 갱신
- linux log
- alter 문법
- 리눅스 gui
- 렉스
- mysql 권한부여
- mysql update
Archives
- Today
- Total
It's under your control.
VirtualHost 설정시 에러 Warning: DocumentRoot [/home/***/public_html] does not exist 본문
Works/Linux
VirtualHost 설정시 에러 Warning: DocumentRoot [/home/***/public_html] does not exist
H4ru 2013. 5. 11. 17:38CentOS 설치 후 Apache 시작시 에러
# service httpd restart
httpd 를 정지 중: [ OK ]
httpd (을)를 시작 중: Warning: DocumentRoot [/home/***/public_html] does not exist
[ OK ]
원인 : SELinux
- 해결 방법: 해당 디렉토리 접근을 허용 하거나 SELinux를 disable 시킨다.
아파치 사용자 /home 디렉토리 접근 허용.
# chcon -R -t httpd_user_content_t /home/아이디
또는
# chcon -R -t httpd_user_content_t /home
SELinux disable
# vi /etc/selinux/config
#SELINUX=enforcing <= 주석 처리
SELINUX=disabled <= 새로 작성
(저장 후 재시작)
'Works > Linux' 카테고리의 다른 글
[Ubuntu] SSH 접속이 느릴 때 (0) | 2013.05.18 |
---|---|
tar 압축 하기 or 압축 풀기 (0) | 2013.05.03 |
리눅스 시작프로그램 설정 (0) | 2013.05.03 |
dpkg 사용법 (0) | 2013.05.03 |
리눅스 vim 자동정렬 하기 (0) | 2013.04.24 |