DocumentRoot 디렉토리에 설정되어져 있는 옵션에서 Indexes 를 지워주시면 됩니다.
<Directory />
Options Indexes FollowSymlinks ExecCGI
AllowOverride None
</Directory>
를....이렇게요..
<Directory />
Options FollowSymlinks ExecCGI
AllowOverride None
</Directory>
특정 디렉토리에서만 인덱스를 허용치 않을 경우에는 특정디렉토리의
.htaccess 파일안에 다음의 내용을 추가하세요.
Options -Indexes
: 안녕하십니까
: Apache-1.3.9 Server 를 사용하고 있습니다.
:
: 홈페이지의 각 디렉토리에 인덱스파일이 없으면 파일을 모두 나타내 버립니다.
:
: 예)
:
: ## http://mukgum.domain.com/down/image/ : ##
: ## Index of /down/image
: ## Name Last modified Size Description
: ## -------------------------------------------------------------------
: -------------
: ## Parent Directory 28-Jul-2000 11:56 -
: ## ani/ 26-Jul-2000 03:43 -
: ## asianude/ 26-Jul-2000 03:45 -
:
:
: 안 보이게 하든지 index없으면 특정한 파일을 불러 오든지 할 수 있는지요?--이 곳에 서명
: 을 적어주십시오.
마루