아파치 버전정보 노출 막기
#
# 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 line containing the server version and virtual host
# name to server-generated pages (internal error documents, FTP directory
# listings, mod_status and mod_info output etc., but not CGI generated
# documents or custom error documents).
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
# Set to one of: On | Off | EMail
#
ServerSignature On => Off 로 변경 ServerSignature Off
'리눅스' 카테고리의 다른 글
[PHP] PHP Credits 페이지 통제 (0) | 2013.06.18 |
---|---|
[리눅스] 아파치 웹 서버에서 디렉토리 리스팅을 막기 (0) | 2013.06.18 |
[MySQL] mysql max_allowed_packet 설정 (1) | 2013.06.18 |
zip 명령어, unzip 명령어 (0) | 2013.06.18 |
SSL 인증서의 개인키에 설정된 비밀번호를 제거하는 방법 (0) | 2013.06.18 |