Secure Apache and PHP, hide version numbers

view story

http://www.go2linux.org – Introduction You may be concerned about security on your LAMP server, and you should hackers are always trying to break into your or anyone’s else system. After finding this in slashdot, I have decided to show you how to to stop Apache and PHP sending their versions and other valuable info for hackers. Hide Apache version To make Apache stop sending its version number to any visitor do as follow: Edit the file http.conf or apache2.conf and add the following lines. ServerSignature Off ServerTokens Prod Restart Apache Hide PHP version Now the turn of PHP, we do not want those hackers (HowTos)