That's interesting, and it makes sense. I imagine that apache would
automatically see that I specified the same log file for the four virtual
hosts and then just open the one file and log to it. I think symbolic links
would cause problems, though. Apache opens a log file and locks it, doesn't
it?
Whatever... I'll just try using the same log file and see what it spits
back.
Jake
LandEZ
"Christian" <evilninja.TakeThisOut@gmx.net> wrote in message
news:2djsdb.9ct.ln@news.housecafe.de...
> Jacob Marble wrote:
> > Hey all-
> > I have apache 2.0.46 running the following virtual hosts, plus a few
> > more:
> >
> [...]
> > I need to log the activity on these four virtual hosts _as_one_ log.
Is
> > there a way to simply put four ServerName directives in one
<VirtualHost>?
> > I have tried:
> >
> > <VirtualHost *>
<font color=green> > > ServerName <a style='text-decoration: underline;' href="http://www.awhc.org</font" target="_blank">www.awhc.org</font</a>>
> > ServerName awhc.org
<font color=green> > > ServerName <a style='text-decoration: underline;' href="http://www.americanwestcenter.org</font" target="_blank">www.americanwestcenter.org</font</a>>
> > ServerName americanwestcenter.org
> > DocumentRoot "/home/awhc/www/"
> > </VirtualHost>
> >
> > I doesn't give any errors, but simply doesn't work. Any ideas?
>
> have you tried to give the same logile for every VirtualHost?
> Apache should not complain, i it does, you could try symlinks, pointing
> to the very same logile.
>
> Christian.
> --
> BOFH excuse #443:
>
> Zombie processess detected, machine is haunted.
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Virtual Hosts :: logs