From: <[EMAIL PROTECTED]> > I've been trying to get a report for a single virtual host out of a > logfile which contains line for many virtual hosts, as well as some > with no virtual host information. > The relevant bits of the config file I've got are: > LOGFORMAT COMBINED > LOGFILE /usr/local/var/log/httpd-access.log* > FILEINCLUDE / > FILEINCLUDE /~warped/* > VHOSTINCLUDE http://www.warped.man.ac.uk/
VHOST entries don't usually include the http:// > Sometimes the pages are accessed as www.compsoc.man.ac.uk/~warped/* > othertimes as www.warped.man.ac.uk/* VHOST entries don't have anything to do with what the user specified - they're usually part of the server configuration. > I've trie *www.warped.man.ac.uk* and many other things as the VHOSTINCLUDE > line, but I'm stumped. It might help if you posted a couple of lines from your logs - it sounds like you're trying to use something else as your vhost field. > The logging can't be changed to a seperate log for this virtual host, and > there's ~1.8GB of them from the last 6 months or so, so cheating and > running them through grep first isn't an option. Why not? grep should chew through 1.8G of logs in a few minutes. (I just went through about 400M of logs in about 90 seconds on a PIII600). Aengus +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
