[Zope] VHost logs.

Jason C. Leach jleach@mail.ocis.net
Wed, 29 Nov 2000 22:04:14 -0800 (PST)


hi,

With Apache in front of zope, do you disable Medusa? And do you need to
set both Apache and Zope to have the vhosts (do I need to set up a vhost
twice?).

Thanks,
j.

......................
..... Jason C. Leach
... University College of the Cariboo.
.. 

On Wed, 29 Nov 2000, Rob Miller wrote:

> Jason C. Leach wrote:
> 
> > hi,
> > 
> > Has anyone implemented there own logging for Virtual Sites?
> > 
> > I was thinking in the site rules an External Method could be called,
> > passed the Request obj, and from that generate logs for virtual sites.
> > 
> > If anyone has done that, or knows of a better way I'd be interested in
> > hearing it.
> 
> I'm not exactly sure what your goal is... but if you're just trying to 
> generate separate log files for each of your virtual sites, I'm accomplishing 
> that by having my virtual sites proxied behind Apache (using SiteAccess and 
> the ProxyPass directive) and specifying the log files for each VirtualHost in 
> my httpd.conf file.  You can control the contents of the logs using the 
> LogFormat directive; I use the same format for all of my virtual hosts, but I 
> think you can specify a different log format for each host if you desire.
> 
> If you're trying to accomplish something else which requires you to handle the 
> logging on the Zope side of things, then it seems to me that your idea would 
> work, although I'd want to find out how my server performance would be affected...
> 
> Hope this is useful for you,
> 
> rob
> 
>