It’s good to hide the apache2 version number from outsider. Especially hiding apache2 version number in all the error pages. Hackers used to collect all this information before they launch any attack. If you running an old version server that known to have security exploit then it will ease the work for hackers.
To hide apache2 version number in error pages, follow the steps below:-
Advertisements
- ssh to your server with root privilege
- Edit your httpd.conf or apache2.conf file. Normally it’s located at /etc/httpd/conf/httpd.conf
- Look for
ServerSignature On ServerTokens full
to
ServerSignature Off ServerTokens Prod
- After edit the file, restart your apache for it to take effect.
service httpd restart
Now your apache2 version number will not be shown in common error pages.
Related posts:
Giveaway: Convert PDF to Word file in Mac OS X
How to extract copyright DVD in Mac - MacTheRipper
How to find duplicate photo in Window 7 / XP
How to stop faces scanning in Picasa 3
Google Authenticator shows "The code is incorrect"
How to turn off 3G in Nokia N900
How to disable Skype auto start in Mac?
Prestashop 1.6: How to enable Catalog mode?
Share this with your friends:-