Server signature apache 2

Hey guys, I'm trying to remove any infos relative to apache, so I added to my httpd.conf in /etc/apache2 these two lines:

ServerSignature Off
ServerTokens Prod

then I restart the server, but infos still show up. So I decided to edit directly apache2.conf at the whole bottom, and added these two lines again, and it worked :o

Do you have an idea of what would cause this? Something in apache2.conf overwriting my rules after it includes the httpd.conf?

thanks for your time!

I'm using ubuntu 10.04 btw!

1 Reply

These variables are defined in /etc/apache2/conf.d/security

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct