Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2005 14:19:15 -0800
From:      darren kirby <bulliver@badcomputer.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Change Apache version string
Message-ID:  <200502071419.21100.bulliver@badcomputer.org>

next in thread | raw e-mail | index | archive | help
--nextPart1621670.5jtpKu8ZU3
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

quoth the Pat Maddox:
> I've got mod_php installed as well as mod_jk, so whenever there's a
> 404 Apache displays
> Apache/2.0.52 (FreeBSD) PHP/4.3.10 mod_jk/1.2.6
>
> I'm not sure if I'm being overly paranoid, but I don't really like the
> fact that all that info gets displayed.  Is there any way I can change
> Apache's version string, like I can with any ftp or smtp daemon?

In your apache conf file change "ServerTokens" directive:

### Set to one of:  Full | OS | Minor | Minimal | Major | Prod
### where Full conveys the most information, and Prod the least.
ServerTokens Prod

-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

--nextPart1621670.5jtpKu8ZU3
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBCB+lpwPD5Cr/3CJgRAjDiAKCK49Gm/i2KXUbRzJ8Cm93LvoVriACeNtOJ
v91xSLcMrDtkJUwT8FR9SI8=
=EsvA
-----END PGP SIGNATURE-----

--nextPart1621670.5jtpKu8ZU3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502071419.21100.bulliver>