I too have been experimenting with VHOSTS- let me describe a situation
that I have. (maybe this will help someone else too) Certain virtual hosts
have different log formats, logged to the same log file.
For the "main" site, the format is like this: (from Apache's conf file)
LogFormat "%h %v %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
So in my analog config file I have this:
LOGFORMAT (%S %v %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B")
It works beautifully for the tiny tests I have run, and I have complete
confidence that I've got things down pat. (the docs tell you all you need)
But wait- I also have "standard" lines mixed in with the others. So a
typical log file will look like this:
1.1.1.1 mainsite.com - [01/Apr/1999:00:00:00 -0500]
"GET /blah.jpg HTTP/1.0" 200 16753 "http://yahoo.com/blah"
2.2.2.2 - - [01/Apr/1999:00:56:21 -0500] "GET / HTTP/1.1" 200 1430
Will I be forced to modify the apache conf for every virtual host
because Analog can't be "flexible" with log formats? If so, I can live
with it, but I'd feel dumb if I didn't ask and later found a better way.
Eventually, we'll have individual log files for all virtual hosts, but
we have a lot of these things, and don't want to "run out" of
filehandles, and I don't want to recompile the kernel to increase the
number available right now.
-=Jim=-
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------