Date: Tue, 13 Jul 2004 23:56:07 +0200 From: Miguel Mendez <flynn@energyhq.es.eu.org> To: "Chris Burchell" <cburchell@muttart.org> Cc: freebsd-questions@freebsd.org Subject: Re: Apache and split logs 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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" <cburchell@muttart.org> 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: <VirtualHost xxx.xxx.xxx.xxx:80> 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 </VirtualHost> HTH, -- Miguel Mendez <flynn@energyhq.es.eu.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040713235607.68e7714e.flynn>