원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++



1. httpd.conf 파일 수정

# vi /etc/httpd/conf/httpd.conf     (rpm 기본 설치된 버전일 경우)


아래와 같이 수정



#
# Don't give away too much information about all the subcomponents
# we are running.  Comment out this line if you don't mind remote sites
# finding out what major optional modules you are running
#ServerTokens OS
ServerTokens ProductOnly


ProductOnly -> apache라는 text만 노출

Minimal -> apache 버전 노출

OS -> 운영체제, apache 버전 노출

Full -> OS 에서 컴파일정보까지 포함



#
# 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
ServerSignature Off



On -> 브라우저에 정보 표시

Off -> 브라우저에 정보 표시하지 않음

EMail -> ServerAdmin 에 지정된 이메일 표시




2. conf 파일 수정후 재기동

# service httpd restart






번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 30735
24 copy 시 I/O error 발생한 파일을 dd로 복사하기 ischo 2015.07.27 9862
23 RHEL 6.x 에서 multipath 설정 ischo 2015.07.31 27168
22 RHEL/CentOS 7 에서 Network 설정하기 ischo 2015.08.31 17260
21 read/write test of Storage Filesystem ischo 2015.12.16 10180
20 NTP 서버 설정 ischo 2016.03.03 10778
19 RHEL/CentOS 7 환경에서 자동업데이트 disable 시키기 ischo 2016.07.02 10198
» apache 404 에러에 OS 또는 apache버전을 표시하는 취약점 없애기 ischo 2016.10.25 7683
17 재부팅 없이 SCSI device를 rescan하기 ischo 2017.03.16 16530
16 shell script를 cron으로 동작시킬때 .bashrc .bash_profile의 변수가 적용되지 않는다 ischo 2017.09.08 14745
15 (스크립트) 오라클 DB서버에서 매일 원격지 FTP로 export 파일 업로드 하기 ischo 2017.11.04 4337
14 CIDR Conversion Table ischo 2018.03.08 2967
13 SFTP로 자동 업로드/다운로드 스크립트 ischo 2018.04.04 7355
12 리눅스에서 Windows Filesystem(NTFS) 마운트하기 ischo 2018.12.20 3470
11 CentOS 7에 Apache2, php7.3, MariaDB 설치하기 ischo 2019.09.02 1930
10 Multi Putty Manager file ischo 2020.10.08 898
9 apache log4j 취약점 제거조치 CVE-2021-44228 CVE-2021-45046 CVE-2021-41045 CVE-2021-4104 ischo 2021.12.23 1051
8 [Shell] 시작한지 1시간 이상 경과한 프로세스 kill 하기 ischo 2022.06.16 245
7 파일시스템 사용량 추이를 http 전송으로 DB에 누적하기 file ischo 2022.08.29 753
6 구버전 Linux에서 Rocky Linux 9.1 버전으로 ssh 접속시 "no hostkey alg" 표시후 접속불가 ischo 2023.04.19 1173
5 vi 에디터에서 복사,붙여넣기 하면 # 마크가 자동으로 앞에 붙을때 ischo 2023.04.19 473
서버에 요청 중입니다. 잠시만 기다려 주십시오...