HTML and CSS Reference
In-Depth Information
This previous screenshot shows the Apache version number sent as a HTTP header
to the browser.
Note
You can use the developer tools that come with most browsers to verify HTTP
headers. In this case, we are using Chrome's Developer Tools Resources tab.
More information on how to use this tool is available on Chrome's help center at
developers.google.com/chrome-developer-tools/docs/network .
This needs to be configured from within the server's main configuration file, and we
cannot do this from within the .htaccess file. So, let's remove the following dir-
ective from the HTML5 Boilerplate's .htaccess file and replace the one found in
/etc/apache2/httpd.conf (the path to this file will be different if you are using
Windows or Linux):
ServerTokens Prod
The following screenshot shows the version-less HTTP header sent by Apache after
applying the configuration value to the Apache server's main configuration file:
Search WWH ::




Custom Search