Disable the server signature in Apache

From The IT Community
Jump to: navigation, search




The server signature can give hackers information about what server you are running. So it is better if you turn it off.


Here is how to disable the server signature in Apache:

  • Edit apache2.conf with your favorite editor.
  • At the end of the file add these two lines:
ServerSignature Off
ServerTokens Prod
  • Restart the apache web server:
service apache2 restart

You are done, your server is now a little bit more secure :-)



Was this article helpful? Then please donate to keep The IT Community alive...

If you found this article helpful please share it, comment and help others by writing your own article.






Translate this page: