Apache 2.2 : turn off Serversignature. version is still there

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Apache 2.2 : turn off Serversignature. version is still there

I have turn off serversignature.

After restart, the apache version with the modules are still listed.

any ideas why?
 

bornonline

Well-Known Member
Nov 19, 2004
139
0
166
Earth
Try this after you update the conf file.
/usr/local/cpanel/bin/apache_conf_distiller --update --main

Apache 2.2 : turn off Serversignature. version is still there

I have turn off serversignature.

After restart, the apache version with the modules are still listed.

any ideas why?
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
I did run /usr/local/cpanel/bin/apache_conf_distiller --update --main and restart apache.

It is still there.
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
you need to put the code at

/etc/httpd/conf/extra/httpd-default.conf

I edit that file and restart apache.

It is still showing the version and other info.

Did you successfully remove the version?
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Add this:

Code:
ServerSignature Off
ServerTokens Prod
I have already those in httpd.conf

it is still showing apache version.
 

sawbuck

Well-Known Member
Jan 18, 2004
1,365
10
168
cPanel Access Level
Root Administrator
Assuming your directives are correct in /usr/local/apache/conf/extra/httpd-default.conf then add the following to httpd.conf:

Include "/usr/local/apache/conf/extra/httpd-default.conf" and run the command bornonline mentioned.
 

rhenderson

Well-Known Member
Apr 21, 2005
778
2
168
Oklahoma
cPanel Access Level
Root Administrator
I have already those in httpd.conf

it is still showing apache version.
Where is it showing the version from WHM or a phpinfo page? I thought I was not disabling the signature because it was showing in WHM Apache Status page, but loading phpinfo shows the signature is disabled.
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Where is it showing the version from WHM or a phpinfo page? I thought I was not disabling the signature because it was showing in WHM Apache Status page, but loading phpinfo shows the signature is disabled.
I am viewing it from WHM > Apache status.

I guess it had been disabled since phpinfo doesn't show it..

WebHostDog, i tried that. It is not showing apache version.

I think it is working fine.