Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Ubuntu 9.10 I can't get apache directive ServerTokens to work. My httpd.conf looks like below.

ServerSignature Off
ServerTokens Prod

ServerName solved startup warnings, but ServerTokens doesn't take. Both Firebug and nmap reports Apache/2.2.12 (Ubuntu)

share|improve this question
up vote 5 down vote accepted

Try: ServerTokens ProductOnly

Probably goes without..but you will need to reload for changes to take effect.

share|improve this answer
Same server signature after apache restart :( – Znarkus Feb 8 '10 at 17:56
Perhaps the ServerTokens directive is listed in one of the include files. "grep -Ri servertokens /etc/httpd/" – CarpeNoctem Feb 8 '10 at 23:42
Of course, genius! The server token was set in /etc/apache2/conf.d/security. Thank you! – Znarkus Feb 24 '10 at 12:45
haha, I spent 3 hours one time trying to figure out why my ssl config for a vhost wasn't working. Include files are sneaky! ;) – CarpeNoctem Feb 24 '10 at 12:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.