On Fri, Jul 13, 2001 at 02:10:27PM +0100, Stephen Turner wrote:
> On Thu, 12 Jul 2001, Patrick Robinson wrote:
> 
> > [Using 5.03 on Solaris]:
> > 
> > I'm trying to include all files from a specific set of directories,
> > ignoring everything else, but I also want the site's homepage counted.
> > That is, I want the home page listed in the Request Report (there are
> > enough occurrences to satisfy the FLOOR specifications).
> > 
> > I've tried it this way:
> > FILEEXCLUDE /*
> > FILEINCLUDE /
> > FILEINCLUDE /otherstuff/*,/morestuff/*
> > FILEINCLUDE /etc/*
> > 
> > and this way:
> > FILEINCLUDE /
> > FILEINCLUDE /otherstuff/*,/morestuff/*
> > FILEINCLUDE /etc/*
> > 
> > In both cases, I get everything I want in the report EXCEPT for /
> > 
> > Now, if I take my logfile(s) and grep out only the lines that contain
> > "GET / HTTP" into a new log file and run analog against that (with
> > either of the above FILEEXCLUDE/FILEINCLUDE sets), then I get the
> > expected single entry for / in my Request Report.
> 
> What you have done looks OK. Try looking at "analog --settings" to see what
> it thinks it's doing.

Actually, I had already done that, and it looks correct to me:

Including (+) and excluding (-) the following files:
In the first case (starting off with the exclude of /*), I get:

  All included, then
  - /*
  + /
  + /otherstuff/*
  + /morestuff/*
  + /etc/*

In the second case (starting with the include of /), I get:

  All excluded, then
  + /
  + /otherstuff/*
  + /morestuff/*
  + /etc/*

Yet, / is not making it to the Request Report.  But again, if I pull out
logfile lines containing 'GET / HTTP', and use that as my log file, then
/ shows up in the Request Report (with 17333 requests).

Here's something interesting, which makes me wonder if there might be a
bug:  In my analog.cfg, I had specified:

REQSORTBY ALPHABETICAL
REQCOLS R
REQFLOOR 5r
REQINCLUDE PAGES
LINKINCLUDE PAGES

I always get a warning about REQSORTBY ALPHABETICAL, so I tried commenting
that out, but / still didn't show up.  Then I tried commenting out ALL of
those lines (so that I get the default request report), and / now shows up.

I put all those directives back in, and started commenting one at a time.
ingo!  It's the REQINCLUDE PAGES directive that's resulting in / not
showing up (i.e. when I comment out REQINCLUDE PAGES, / shows up).
My page includes are:

Including (+) and excluding (-) the following as pages:
  All excluded, then
  + */
  + REGEXPI:\.html?$
  + *.pdf

Shouldn't that include / ?  If not, then why does it show up when the only
log lines are those matching 'GET / HTTP'?

-- 
Patrick Robinson
AHNR Info Technology, Virginia Tech
[EMAIL PROTECTED]
+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------

Reply via email to