Nonono
You need a cron job that will run the command :
cat access.log | /path/to/split-logfile
it will create the logfiles to the directory where split-logfile is stored.
You may want to edit the script a little so it outputs the logfiles to a
given directory.
You merely need to change the
Hi Jean
Thank you great answer, just what I was looking for!
One final question ;) can I just check how I should use split-logfile
CustomLog "|/apache/split-logfile >> /path/to/user/logs/access_log" vhost
Something like that?
Thanks again
Ben
- Original Message -
From: "Jean-Christ
Hello,
Just add a new definition of log format possibly called "vhost" : copy
the "combined" log format and add a %h at the beginning of the definition.
%h stands for "virtual host name".
Everything will be logged to the regular access.log except the log lines
will look like :
user1.mydomain
Hi All
We have apache configured using wildcard DNS *.mydomain.com
The site has members who on sign up can instantly access their version of
the site.
user1.mydomain.com
user2.mydomain.com
...
We use a single VirtualHost definition that captures *.mydomain.com rewrites
to a script that extr