On Tue, Mar 12, 2002 at 06:22:41PM +1100, Jeff Waugh wrote:
> <quote who="Ben Donohue">
>
> > I'm wanting to implement e-smith SME V5 server.
> > I'd like to use webalizer with the virtual domains.
> > I'm used to having the access_log in each V.domains area however SME
> > currently has all http hits log into one file.
>
> There are lots of combined log file splitters available on freshmeat - grab
> on of those, and split the logs into the virtual host directories before you
> run webalizer.
That shouldn't be necessary; apache can generate separate log files for
each virtual host. Just put CustomLog and ErrorLog directives inside
each virtual host block, e.g.:
<VirtualHost 203.63.21.209>
ServerAdmin [EMAIL PROTECTED]
ServerName kirriwa.net
ServerAlias www.kirriwa.net
ErrorLog logs/virtual/kirriwa.net/error_log
CustomLog logs/virtual/kirriwa.net/access_log combined
...
Cheers,
John
--
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug