반응형
<VirtualHost *:80>
DocumentRoot /home/xxx
</VirtualHost>
위 처럼 설정하고 service httpd restart 했는데.. 다음과 같이 에러가 발생. 해당 디렉토리가 있음에도 불구하고..
Starting httpd: Warning: DocumentRoot [/home/xxx] does not exist
아파치 사용자에 대해서 해당 디렉토리 접근 허용해야 한다.
chcon -R -t httpd_user_content_t /home
반응형
'Server > Apache' 카테고리의 다른 글
client denied by server configuration (0) | 2021.06.29 |
---|---|
아파치 실행 에러 Permission denied: make_sock: could not bind to address (0) | 2015.09.23 |
ssl 설정. (2) | 2015.08.16 |
[설치] DocumentRoot must be a directory (0) | 2015.06.16 |
에러 : libexpat.so.0: 열기 실패 (0) | 2014.03.24 |