Duke Hillard ([EMAIL PROTECTED]; Tuesday, February 11, 2003 10:04 AM): > I have a single log file with virtual hosts. I want each virtual host name > to appear in the Directory, Failure, Redirection, and Request Reports. > I've read the docs (including the information about utilizing an optional > second argument with the LOGFILE command), how-to about virtual > hosting, and the FAQ. I am using Solaris 8. Here is what I've tried.
> 1st-attempt.cfg > LOGFILE /path/logfile %v > SUBDIR http://%v/* > With the above configuration, every report was empty. > 2nd-attempt.cfg > LOGFILE /path/logfile > With the above configuration, all reports appear normal but don't > include a virtual host name prepended to each line of the reports > that I listed earlier. While this isn't the result that I desire, it is the > result that I expected. This attempt was basically a sanity check. > Other attempts were variants of my first attempt and all resulted in > empty reports. I would appreciate any suggestions or advice that > would help me prepend virtual host names to the lines that appear > in the Directory, Failure, Redirection, and Request Reports. > -- Duke Hillard With your first attempt, you should have gotten all reports except Directory with data unless Analog could not find the VHOST section in your LOGFORMAT. In this case it should throw a warning (if you have those enabled). For the SUBDIR, command, use this instead: SUBDIR http://*/* -- Jeremy Wadsack Wadsack-Allen Digital Group +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
