Thursday, May 3, 2012

How to disable server signature using .htaccess

Server signatures contain valuable information about installed software and can be read (and exploited) by worms and hackers. Therefore it is safer to turn off this behavior.

There are 2 methods to do it.
1. Disable signature using .htaccess
2. Disable signature by editing httpd.conf

Disable signature using .htaccess

Open your public_html folder (Browse public_html using ftp to display all hiden files)
Now to disable the server’s signature used to identify the server, use the following code in your .htaccess file:


 # Disable server signature
 ServerSignature Off



or Follow me on Twitter https://twitter.com/imvaibs

No comments:

Post a Comment