In this tutorial you will learn how to hide the Apache version on Ubuntu Server.
Code used during this tutorial:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# Hide Apache Version on Ubuntu Server # Fetch the HTTP-header only curl -I http://http.liviubalan.com/ # Edit Apache conf sudo vi /etc/apache2/apache2.conf # Configures the footer on server-generated documents ServerSignature Off # Configures the Server HTTP response header ServerTokens Prod # Restart Apache sudo service apache2 restart # Browser http://http.liviubalan.com/page-not-found # Useful links http://www.tecmint.com/apache-security-tips/ http://httpd.apache.org/docs/2.2/mod/core.html#serversignature http://httpd.apache.org/docs/2.2/mod/core.html#servertokens |
Useful links:
http://www.tecmint.com/apache-security-tips/
http://httpd.apache.org/docs/2.2/mod/core.html#serversignature
http://httpd.apache.org/docs/2.2/mod/core.html#servertokens