본문 바로가기

ETC/e-TRAYz

[e-TRAYz] Internal Server Error (HTTP 오류 403 - 사용 금지)

(1.0.3 펌웨어) 클라이언트에서 디렉토리명으로 접근시 index.htm 파일은 반환을 하지않습니다. 즉, index.htm 파일을 사용하는 웹서버에 접근시 명시적으로 파일명을 기제하지 않으면, Internal Server Error 가 발생하게 됩니다.
DirectoryIndex 설정부분에 index.htm 파일을 추가하여, Internal Server Error를 방지합니다.


1. Apache 환경설정 파일을 수정합니다.

~# vi /etc/apache2/httpd.conf


2. 아래라인을 수정합니다.
[ 약 288라인 부근]

...
DirectoryIndex index.php index.phtml index.html index.html.var

 ↓  위의 라인을, 아래처럼 index.htm index.php3 를 추가한뒤 저장하세요.

DirectoryIndex index.php index.phtml index.html index.html.var index.htm index.php3
...


3. Apache 데몬을 재시작 합니다.

~# service apache restart