Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 3
    mod_sec is needed for a custom text to hide completely the work apache otherwise your solution is good and simple :) Commented Aug 12, 2015 at 18:13
  • This has no affect for me using Apache 2.2 (patched) on Centos 6. Commented Apr 19, 2016 at 16:35
  • 1
    In Apache 2.4, it is reported as Syntax error : Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration Commented May 6, 2016 at 10:07
  • 3
    @Raptor You have to install mod_headers with sudo a2enmod headers Commented Nov 15, 2016 at 15:58
  • 3
    Header unset Server does not work in Apache 2.2 and 2.4. Response headers still contains Server: Apache Commented Jul 11, 2018 at 8:28