Hide Server Info
서버 OS 의 종류, 버전, Web Server의 종류, 버전 숨기기
httpd.conf 에 다음 내용 추가
ServerSignature On
ServerTokens ProductOnly
CODE
다음처럼 Server: Apache Web Server 제품 정보만 출력된다.
ServerTokens OS - RHEL 기본값
Server: Apache/2.0.41 (Unix)
CODE
ServerTokens Full - apache 기본값
Server: Apache/2.0.41 (Unix) PHP/4.2.2 MyMod/1.2
CODE
httpd.conf
# If mod_headers module is included, we will disable the Server response header totally
<IfModule mod_headers.c>
Header unset Server
Header unset X-Powered-By
</IfModule>
BASH
SELinux 적용