본문 바로가기

WEBD/서버

httpd.conf 서버 디렉토리 보이게, 안보이게 설정[ Server ][ Linux ]

httpd.conf 파일에서 아파치 서버 디렉토리의 폴더및 파일을 보여주거나,

파일 및 폴더를 보여주지않고 오류를 출력할 때 설정 방법.

<Directory "D:/AutoSet9/public_html">

    #index파일이 없을 때 디렉토리를 감추고 에러를 출력

    Options FollowSymLinks

 

    #index파일이 없을 때 디렉토리를 보여줌

    Options Indexes FollowSymLinks

</Directory>

LIST