I actually set up vhost with apache2 and i've a problem with the hardening of my vhost; the apache version and server OS is displayed in the header.
When i use the main server link, the version is hidden.
Help please. Thanks.
I actually set up vhost with apache2 and i've a problem with the hardening of my vhost; the apache version and server OS is displayed in the header.
When i use the main server link, the version is hidden.
Help please. Thanks.
use prod as server token
https://httpd.apache.org/docs/2.4/mod/core.html#servertokens
set server signature to off
https://httpd.apache.org/docs/2.4/mod/core.html#serversignature
hth
You can hide the Server version like so:
ServerSignature Off
ServerTokens Prod
You will need to edit your .htaccess file or the main httpd.conf file.