{ claus.conrad }

Less verbose Server: response header from Apache

πŸ“… Mar 10, 2009
βŒ› 1 minute

Unfortunately it's not possible to remove the Server: Apache header altogether from Apache's responses, but you can make them less verbose (and stop telling the whole world which version of Apache, OS and modules you're running).

In your httpd.conf, change (or add) these lines:

ServerTokens Prod
ServerSignature Off

The first line changes the Server: header to only say β€œApache” and nothing else. The second line disables the module listing on Apache-generated error pages.