How to turn server signatures off

Add the below line to your .htaccess file in order to have ServerSignatures turned off.

 
ServerSignature Off

Why would you want to do this? There isn’t much reason too but it does hide the version of the web server from visitors viewing a directory listing or similar. The server signature would still be displayed in the http header.

Did you find this article useful?