CentOS 7: Hide server version httpd

Locked
User avatar
Mihai Romania
Posts: 60
Joined: 2023 May 03, 14:12
Location: ROMANIA
Contact:

CentOS 7: Hide server version httpd

Post by Mihai »

Edit configuration file httpd.conf

Code: Select all

[root @ CentOS7]$ vim /etc/httpd/conf/httpd.conf
Add the following configuration

Code: Select all

ServerTokens Prod
ServerSignature Off
Restart httpd service

Code: Select all

[root @ CentOS7]$ systemctl restart httpd
I'm on LinkedIn
Locked