Red Hat Linux 8.0을 깔고 기본 direcotry가 /var/www/html로 되어있는 것을 바꾸려고 다음과 같이 했습니다.
(/etc/httpd/conf/httpd.conf 파일을 다음과 같이 수정)
DocumentRoot "/home/httpd/html"
그리고 아래에도 다음과 같이 바꾼 후
<Directory "/home/httpd/html">
..............
</ Directory>
apachectl restart로 다시 시작했는데, 외부에서 접속해보면 다음 에러 메세지가 뜹니다.
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.