[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Hide version of Apache, PHP, OpenSSL,.... to world



> If someone go to www.netcraft.com this site list what run
> any server, like this:
> 
> Apache/1.3.6 (Unix) PHP/4.0.3pl1 mod_perl/1.21 mod_ssl/2.2.8
> OpenSSL/0.9.2b on Linux
> 
> Somebody know how to hide version numbers of this programs ?
> 
> R.Batalla

Put the following somewhere in your httpd.conf:

  ServerTokens OS


Which will strip the above output to:

  Server: Apache/1.3.6 (Unix)

Search the Apache docs on "ServerToken" for additional info.

--
Brian Curtis