Loading...
Real Time Issues

How To Disable Server Signature OFF

If your server signature is on. Turning off your server signature is generally a good thought from a security point of view.

shows signature as below

Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.33

To Turn off Signature

Open Apaches configuration file ie. httpd.conf or apache.conf  and search for ServerSignature.

If you find it, edit it to :

ServerSignature Off
ServerTokens Prod

If you don’t find it, just add these two lines at the end of the file.

Note that, after you modify the configuration file, you must restart the Apache server.

Leave a Reply

Your email address will not be published. Required fields are marked *