STUDY/APM
아파치 에러 "AH01276"
EunsooD
2020. 11. 20. 10:38
반응형
AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
GCP에서 Apache세팅을 하는데..
"AH01276"에러가 등장했다.
아무리 봐도 폴더 퍼미션은 755로 멀쩡한데
자꾸 권한이 없단다.
이유는 모르겠지만 구글링 결과 해결은
chcon -R -t httpd_sys_content_t [폴더명]
뭔가 httpd에 새로운 권한을 폴더에 줘야 하나보다.
반응형