Hide Linux OS type/version from scans/fingers on web server

I just created a web server running on ubuntu 9.1 with apache2,  php5 and mysql.    

I was just running a security scan on the server using Nessus.   When it was done it told me that it was able to find out the operating system running on the box is:
 ---- Remote operating system : Linux Kernel 2.6 on Ubuntu 9.10 (karmic)

I would like to be able to hide this information from scans.   Can anyone tell me how to do this using ubuntu, apache, or whatever other mechanism works.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

in apache conf file

ServerTokens ProductOnly
ServerSignature Off

it will hide those


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TSCATAuthor Commented:
Thanks,  I will give that a try
learn modsecurity
its a great good product to protect your web server

The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

TSCATAuthor Commented:
is that open source?
yap love this product,

i am not that good anyway but still trying to learn but by default its good really good
TSCATAuthor Commented:
Worked perfectly.   I searched the file for the entries but did not find them.  I just added them to the end of the file exactly as you referenced above and restarted Apache.  No more OS and Apache version info on my errors and network scans.  Thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.