On Tuesday 13 July 2004 16:45, Chris Burchell wrote: > 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? > > -FreeBSD 4.10 > -Apache 1.3.31 > > Thanks, > Chris > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]"
Yes. Simply set a log line in your VirtualHost directive. Here are mine as an example: <VirtualHost www.e-u-a.net> ServerAdmin [EMAIL PROTECTED] DocumentRoot /www/e-u-a.net/ DirectoryIndex index.htm index.html index.php ServerName www.e-u-a.net ErrorLog /var/log/eua_error.log CustomLog /var/log/eua_access.log common </VirtualHost> This puts the logfile for eua into eua_error.log and eua_access.log. You can put most directives listed in the config file into the VirtualHost directive. HTH -- Eric F Crist Keep your pecker hard and your powder dry, and the world WILL turn. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"