Date: Tue, 8 Feb 2005 13:01:35 +0100 From: Anthony Atkielski <atkielski.anthony@wanadoo.fr> To: freebsd-questions@freebsd.org Subject: Re: Change Apache version string Message-ID: <11610732417.20050208130135@wanadoo.fr> In-Reply-To: <LOBBIFDAGNMAMLGJJCKNIEEOFAAA.tedm@toybox.placo.com> References: <810a540e0502071359355a641d@mail.gmail.com> <LOBBIFDAGNMAMLGJJCKNIEEOFAAA.tedm@toybox.placo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Pat Maddox writes: > 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? Within limits, you can change it with the ServerTokens directive in the configuration. To get the bare minimum (just "Apache"), use ServerTokens Prod You might also set ServerSignature Off Which prevents Apache from putting its version at the end of any pages it generates itself (missing page errors, directory listings, etc.). -- Anthony
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11610732417.20050208130135>