⚙️백엔드/아파치
아파치 - 아파치 서버 정보(버전, OS 정보, 아이피 숨기기)
Janger
2023. 2. 6. 22:20
728x90
Simple:
sudo nano /etc/apache2/conf-enabled/security.conf
Then:
- change ServerTokens OS to ServerTokens Prod
- change ServerSignature On to ServerSignature Off
Restart Apache :
sudo service apache2 restart
ServerTokens Prod[uctOnly] # 웹서버 종류만
ServerTokens Min[imal] # 웹서버 종류 및 최소 정보
ServerTokens OS # 웹서버 종류 및 OS 정보
ServerTokens Full # 웹서버 종류, OS 정보 및 설치된 모듈 정보
ServerSignature Off # 웹 서버 시그니처 정보(이메일, 연락처) 숨김
ServerSignature On # 웹 서버 시그니처 정보(이메일, 연락처) 보임
출처:
Apache: how to hide server version and operation system from users?
I've read on one site that I need to add two lines to httpd.conf file: ServerSignature Off ServerTokens Prod But when I've added them nothing changed. As previously I can see in my browser Apach...
stackoverflow.com
728x90