View Full Version : [ubuntu] How To Hide Apache Information On Ubuntu 9 Server

January 20th, 2010, 12:34 PM

I have an Ubuntu 9 server and i want to hide my apache information. I know what the code is. It is like following:

ServerTokens ProductOnly
ServerSignature Off

I did it on httpd.conf file in main config of http, but the Ubuntu 9 server had apache2.conf instead of httpd.con
The question is how can I user these codes on which file and which part of that file?

Thank You :)

January 20th, 2010, 03:09 PM
You should comment/uncomment the appropriate lines in /etc/apache2/conf.d/security.

January 20th, 2010, 09:30 PM
You can also look at mod_security ;)

January 27th, 2010, 11:41 AM
solved in /etc/apache2/conf.d/security

thank you so much :)