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

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



> > 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)

Brian,
Will this work as well if we put it in the srm.conf instead, since
httpd.conf gets overwritten each time you change a site through the GUI?

Or is it just that *parts* of the httpd.conf gets overwritten, and we can
put stuff like this in there at the top, where the info always stays the
same?

Carrie Bartkowiak