Troy Simpson <tdsimp...@gmail.com> wrote:
> Thanks for the response.  Please believe me, I have read the manual
> several time over.  The practical experience is what is killing me.
> 
> So, let me see if I understand this correctly.
> 
> The directive of:  FILEALIAS /?objectid=* /*
> would translate this:  /?objectid=FEBA5E7B-F1F6-975E-7040A72105801B36
> to this:  /FEBA5E7B-F1F6-975E-7040A72105801B36
> 
> And if I only wanted to report the number of times this page was
> requested: /?objectid=FEBA5E7B-F1F6-975E-7040A72105801B36
> then I would use the directive:  FILEINCLUDE
> /FEBA5E7B-F1F6-975E-7040A72105801B36
> 
> Am I on track so far?

I was going to say yes, but I decided to test it first, and I came across 
something that surprised me.

By default, Analog assumes that logs on a Windows system are case insensitive, 
and logs on a unix system are case sensitive. It handles the case insensitive 
situation by lowercasing everything.

BUT!!!

Items are only aliased once. So when you use FILEALIAS on Windows, you bypass 
the automatic lowercasing for that request, but the FILEINCLUDE command IS 
lowercased, so all of a sudden, you have a mismatch between 
/FEBA5E7B-F1F6-975E-7040A72105801B36 and /feba5e7b-f1f6-975e-7040a72105801b36

In other words, if you're on Windows, you need to add "CASE SENSITIVE" to the 
analog.cfg file too, if you use the FILEALIAS technique. 

On the other hand, if you just use
FILEINCLUDE /*?*FEBA5E7B-F1F6-975E-7040A72105801B36

then case isn't an isue, but you will probably also want 
REQFLOOR 1r
REQARGFLOOR 1r

if you're doing your tests with one-line logfiles, and 
DIRSUFFIX index.cfm
PAGEINCLUDE *.cfm

might also be useful.

Aengus

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to