How to hide apache information with ServerTokens and ServerSignature directives
$ e2enmod headers
$ service apache2 restart
# /etc/apache2/apache2.conf
<IfModule mod_headers.c>
Header set MyInfo "Hello world"
</IfModule>
How to hide apache information with ServerTokens and ServerSignature directives
$ e2enmod headers
$ service apache2 restart
# /etc/apache2/apache2.conf
<IfModule mod_headers.c>
Header set MyInfo "Hello world"
</IfModule>
# /etc/apache2/apache2.conf | |
# Add the following | |
ServerTokens ProductOnly | |
ServerSignature Off |