Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

2 Answers 2

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.