728x90
반응형
Apache 서버를 사용 중 새로운 HTML스크립트를 업로드하고 페이지 로딩 시
You don't have permission to access / on this server 라는 Error 가 발생
해결방안 1
보통 위와 같은 에러 메시지를 인터넷에 검색했을 경우 나오는 해결방안이다.
/etc/httpd/conf/httpd.conf를 아래와 같이 수정한다.
<Directory "/">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
해결방안 2
해결방안 1로도 문제가 해결되지 않아서 이유를 찾던 도중 파일에 대한 권한이 없는 것을 발견
chmod 644 filename 을 통해 파일에 대한 권한을 부여하여 문제를 해결.
728x90
반응형
'Programming > Apache' 카테고리의 다른 글
[보안] bruteforce - 무작위 대입 공격 방어 (fan2ban 설치) (0) | 2015.06.30 |
---|---|
comodo positive ssl이 파이어폭스, 모바일에서 신뢰할 수 없는 인증서라고 뜰 경우 (0) | 2015.06.30 |
[apache] mod_ssl 설치 (0) | 2015.06.30 |
[Apache] https 설치 (0) | 2015.06.30 |
[Apache] 시작/정지/재시작 & 에러 발생 시 (0) | 2015.06.30 |
댓글