Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache 2.2.11, ServerTokens and Displayed Software Infos |
|
Author |
|
GabryJ84
Joined: 11 Mar 2009 Posts: 1 Location: IT
|
Posted: Wed 11 Mar '09 11:11 Post subject: Apache 2.2.11, ServerTokens and Displayed Software Infos |
|
|
Hi All,
It's the first time here for me so pardon me if I write bullshits.
I have an Apache 2.2.11 Webserver on my box (Centos 4.7) and I have a question:
Currently, the Apache "signature" is the following: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8j DAV/2 PHP/5.2.9 mod_perl/2.0.4 Perl/v5.10.0 Server at xxx.xxx.xxx.xxx Port xx.
It does display apache version as well as the system, modssl version, openssl version, dav version, php version, modperl version and perl version.
Here is the question: Is it possible to make it display there MySQL version? (should the mod_sql output there the mysql version?). Is it also possible to make it display other custom informations? (less important, the MySQL version would be more important).
Thanks to all that will answer. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 11 Mar '09 18:25 Post subject: Re: Apache 2.2.11, ServerTokens and Displayed Software Infos |
|
|
GabryJ84 wrote: | Hi All,
Here is the question: Is it possible to make it display there MySQL version? (should the mod_sql output there the mysql version?). Is it also possible to make it display other custom informations? (less important, the MySQL version would be more important). |
Since MySQL is not a loadable module Apache .. the answer is NO & No.
However, with mod_security you can change the complete signature to anything you want. Insted of Apache/2.2.11 bla bla bla you could make it say "Joe's Bar & Grill, Open Nightly, Live Music Friday & Saturday"
I know it doesn't make sense to do what I put there, I'm just pointing out the fact one could do it.
Magic mod_security directive is
SecServerSignature "Joe's Bar & Grill, Open Nightly, Live Music Friday & Saturday" |
|
Back to top |
|
|
|
|
|
|