Re: apache mysql vhosts
--Tuesday, February 01, 2005 05:35:08 +0100 "Dr. Ender Aysal" <firstname.lastname@example.org>:
> Does anybody have an idea how i can tell apache 1.3 to store the log-file for
> each domain in the document-root of every virtual domain usingmod_vhost_alias?
a) Do it "offline" by splitting up one central logfile daily.
Use LogFormat "%v ..." to include the hostname into your logfile.
Then use something like split.log to split up the logfile on, say, a daily
basis. (See http://httpd.apache.org/docs-2.0/programs/other.html
b) Do it in realtime by piping through some log-splitter:
CustomLog "|/my/nice/logprogram" mylogformat
Or maybe see Lincoln Stein's annotations at
to get some ideas how to build your own with mod_perl.