• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Unable to change Server: header with mod_headers

W

wesyah234

Guest
I'm trying to remove the Server: header in my apache installation to hide the type of web server I'm running.

To make sure mod_headers is actually working, I tried first a "Header append" of some new header value, and it worked fine:

Header append SomeNewHeader someValue

However, when I tried to unset the Server Header, it didn't work:

Header unset Server

I still see the
Server: Apache/2.0.51 (Fedora)

When viewing the headers using the LiveHttpHeaders extension in Firefox

Is there anything Plesk is doing that may prevent this from working?

Thanks!
 
Back
Top