It is often advisable not to disclose information than is necessary when web request are made to Apache server.
By default, Apache displays the version of the server, modules loaded in the server and the version of PHP if PHP is configured with Apache.
In httpd.conf file, set the following directives.
By default, ServerSignature is set to Off and ServerTokens is set to Full in most Linux distros.
In ubuntu, it is $ apache2 -v In CentOS, it is $ httpd -v To find out where apache2 or...