Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

ServerName server.mydomain.com
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
add comment

1 Answer 1

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
3  
Perhaps the ServerTokens directive is listed in one of the include files. "grep -Ri servertokens /etc/httpd/" –  CarpeNoctem Feb 8 '10 at 23:42
1  
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
add comment

Your Answer

 
discard

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.