From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 12:01:37 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D97016A4CE for ; Tue, 8 Feb 2005 12:01:37 +0000 (GMT) Received: from smtp11.wanadoo.fr (smtp11.wanadoo.fr [193.252.22.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 344EE43D2D for ; Tue, 8 Feb 2005 12:01:37 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (unknown [127.0.0.1]) by mwinf1108.wanadoo.fr (SMTP Server) with ESMTP id E12541C000A1 for ; Tue, 8 Feb 2005 13:01:35 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf1108.wanadoo.fr (SMTP Server) with ESMTP id BF7811C00085 for ; Tue, 8 Feb 2005 13:01:35 +0100 (CET) X-ME-UUID: 20050208120135784.BF7811C00085@mwinf1108.wanadoo.fr Date: Tue, 8 Feb 2005 13:01:35 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <11610732417.20050208130135@wanadoo.fr> To: freebsd-questions@freebsd.org In-Reply-To: References: <810a540e0502071359355a641d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Change Apache version string X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 12:01:37 -0000 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