Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I have been following this tutorial closely

I have installed Apache php & MySql

I have run the command sudo nano /etc/apache2/apache2.conf and I am trying to set the “ServerTokens Full” to “ServerTokens Prod” and “ServerSignature On” to “ServerSignature Off”, but I cannot seem to find these lines, What could I be doing wrong?

Im new to setting up dedicated servers so any guidance would be helpful

share|improve this question
up vote 3 down vote accepted

Under recent Ubuntu versions, these Parameters can be found in /etc/apache2/conf.d/security instead of apache2.conf

The guide you are following is for a 4 year old version of Ubuntu, try to find a guide for Ubuntu 12.04 (guessing that this is what you use).

share|improve this answer
Thanks for the advice – mk_89 Sep 5 '12 at 13:51

This is now under


which is then symlinked by a2enconf to


share|improve this answer

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.