debian - Completely hide server name apache -


I have added these 2 lines to my / etc / apache2.conf file, and it hides the OS and Apache versions is.

But after all I can see the header with the server name

  server apache   

How is this information hidden? I am using Debian 7, Apache v2.2

thanks

your Can not completely unset its own Apache server header (not even with mod_headers)

This, as discussed by Apache Dev, is discussed.

One way to do this is to use Modescity, but I know about it.

I can verify that it works, tried only on Debian 7.6.

Edit: Install modern security for Apache and then add it to your apache2.conf .

  & lt; Ifmodule security2_model & gt; Server Token Full Sensor signature "" & lt; / IfModule & gt; On SecRuleEngine   

After restarting Apache, the server header will disappear

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

C++ Array Type Not Assignable in Copy Constructor -