From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 21:56:19 2004 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 C873816A4CE for ; Tue, 13 Jul 2004 21:56:19 +0000 (GMT) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2201F43D2D for ; Tue, 13 Jul 2004 21:56:16 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id 0871E36850; Tue, 13 Jul 2004 23:56:12 +0200 (CEST) Date: Tue, 13 Jul 2004 23:56:07 +0200 From: Miguel Mendez To: "Chris Burchell" Message-Id: <20040713235607.68e7714e.flynn@energyhq.es.eu.org> In-Reply-To: <1B36135783A3254A8C024188C0E3DFEC096435@dsl-main-66-18-201-230-edm.nucleus.com> References: <1B36135783A3254A8C024188C0E3DFEC096435@dsl-main-66-18-201-230-edm.nucleus.com> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.4; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Tue__13_Jul_2004_23_56_07_+0200_X5o7LsQbq5ycySBS" cc: freebsd-questions@freebsd.org Subject: Re: Apache and split logs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 21:56:19 -0000 --Signature=_Tue__13_Jul_2004_23_56_07_+0200_X5o7LsQbq5ycySBS Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 13 Jul 2004 15:45:03 -0600 "Chris Burchell" wrote: Hi, > Is there any way (script / apache module / other) I can have the > apache access-log split into separate access logs for individual > virtual sites hosted on a FreeBSD box? You can use the ErrorLog and CustomLog options in the VirtualHost definition. For example, I use this one for one of my servers: ServerAdmin webmaster@xxx.org DocumentRoot "/var/www/www.xxx.org" ServerName www.xxx.org ErrorLog logs/xxx-error_log CustomLog logs/xxx-access_log common HTH, -- Miguel Mendez http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 --Signature=_Tue__13_Jul_2004_23_56_07_+0200_X5o7LsQbq5ycySBS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA9Fp7nLctrNyFFPERAh4yAJ4/dAFfwZejRhFGYB33UD3Z2POgPgCfevBG B4uAFPThnO6TRa17xBYWdQI= =rLbg -----END PGP SIGNATURE----- --Signature=_Tue__13_Jul_2004_23_56_07_+0200_X5o7LsQbq5ycySBS--