Tuesday, January 26, 2010

How To hide Apache2 version Information from hackers

Some times we need to hide apache banner information, because hackers check version details, before attacking a sever, If you close this door, it is more difficult for them to exploit any system holes and thus making vulnerability scanners work harder and in some cases impossible without knowing version information.


Do the following steps
Modify /etc/apache2/apache2.conf
Change the ServerSignature on to ServerSignature Off
Change the ServerTokens full to: ServerTokens Prod
Restart Apache: /etc/init.d/apache2 restart