How to hide the 'server' parameter in the apache2 http response header?

0

Issue

My question is posed in the title. But I ask also, instead of hiding it, isn’t it possible to replace it by a custom value? Maybe over php or by editing the apache2 config?

Thank’s in advance!

Solution

You could use mod_security for Apache, there is a directive called SecServerSignature it allows you to change the value of the Server header.

Another way would be to edit the the source code 🙂

Answered By – stewe

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More