아파치 썸네일형 리스트형 [리눅스] 아파치 웹 서버에서 디렉토리 리스팅을 막기 아파치 웹 서버에서 디렉토리 리스팅을 막기 1. 아파치 웹 서버에서 디렉토리 리스팅을 막으려면 Options 지시어에서 Indexes 옵션을 제거하면 됩니다. 2. Apache 설정 파일(httpd.conf)을 열어서 디렉토리 설정 부분을 찾습니다. 해당 디렉토리 설정에 대한 Options 지시어를 찾습니다. 일반적으로 아래와 같은 형태로 되어 있습니다. Options Indexes FollowSymLinks AllowOverride None Require all granted 3. Options 지시어에서 Indexes 옵션을 제거합니다. Options FollowSymLinks AllowOverride None Require all granted 4. 변경 사항을 저장하고 Apache를 재시작합니다... 더보기 [Apache] 아파치 버전정보 노출 막기 아파치 버전정보 노출 막기 # # ServerTokens # This directive configures what you return as the Server HTTP response # Header. The default is 'Full' which sends information about the OS-Type # and compiled in modules. # Set to one of: Full | OS | Minor | Minimal | Major | Prod # where Full conveys the most information, and Prod the least. # ServerTokens Prod => 주석 처리 #ServerTokens Prod # # Optionally add a l.. 더보기 이전 1 2 3 다음