PDA

View Full Version : [ubuntu] Help me understand Ubuntu Server, please!



Yoni5002
March 26th, 2012, 07:15 AM
Hi,

I need to understand apache behavior under Ubuntu Server. I have edited /etc/apache2/apache2.conf

ServerSignature Off
ServerTokens Prod

I have restarted apache, my ubuntu server few times and I have double checked my config file; still my server info is displaying!

I do not have experience with Linux and I must be looking at the wrong place. What Am I doing wrong here!?

Please help me understand...

iiz
March 26th, 2012, 08:13 AM
Hey!

I had this problem in the past, never figured out a proper fix. But what I did was configured the default VHOST to show a blank index.htm, you could use a php script to push a 403 error on top of that.

Hope this helps and if you figure out a solution to hide the server signature please post it here.

thanks!

Yoni5002
March 26th, 2012, 04:26 PM
Hey!

I had this problem in the past, never figured out a proper fix. But what I did was configured the default VHOST to show a blank index.htm, you could use a php script to push a 403 error on top of that.

Hope this helps and if you figure out a solution to hide the server signature please post it here.

thanks!

Hey, thanks a lot for your replay.

I did actually find a solution...

I edited /etc/apache2/conf.d/security

Restarted apache and I'm all good now. Hope this helps.