Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] Summary - virtual domains and OSX Server



On 7/18/04 10:39 AM Fred Reitberger (Fred@Reitberger.org) wrote:

>I'm setting up Summary to work with OSX server/Apache.  How do you 
>set up OSX Server/Apache to log the virtual domains so Summary can 
>recognize them?

The normal way to setup Apache is to log each domain to a separate log 
file, then you can use method #4 from the manual, 
<http://summary.net/manual/virtualdomains.html#method4>, to setup 
subreports. Seperate log files is the default with the OS X configuration 
utility.

One thing to watch out for with OS X Server is that it tends to leave the 
trailing double quote off of the log format if you manually configure a 
log format using Apple's server administrator program. This results in 
logs that are not very useful.

If you want to log everything into one log file with the virtual host 
name in each log entry you are going to have to edit the Apache 
configuration file yourself, and take great care to follow Apple's 
directions to keep their administration program from undoing any changes 
you make. You will then need to define a custom log format in Apache and 
define a custom log format in Summary. All of this is rarely worth the 
effort, much simpler in most cases to just go with separate log files.

Good Luck
Jason

-----------------
Jason@Summary.Net
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets
-------------
Go to <http://summary.net/list.html> to update subscription info.