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


Navodit Kumar said...

Thanks for this info my friend (:

Unknown said...

thanks for this info

in ubuntu you wil find this setting in file

Anonymous said...

Zaher, thank you! You saved me time and frustration, because I was starting to pull my hair off. =)