On Tue, 13 Jul 2004 15:45:03 -0600
"Chris Burchell" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
        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 <[EMAIL PROTECTED]>
        http://www.energyhq.es.eu.org
        PGP Key: 0xDC8514F1

Attachment: pgpkGrrlfOn9W.pgp
Description: PGP signature

Reply via email to