On Monday, January 16, 2006 8:13 AM [EDT],
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Hi
> Thanks for the questions ;-))
>
> 1. Does this work? Yes it seems
> 2. Does the FILEALIAS part of that set of commands work? Partially
> since some show up under the general heading but some other with the
> apparement same directory name structure are shown extra. I cannot
> get a single count aggregating all files within the directory....
> Example:
>
> 2502 4.54% Performance Forms /* this is the general heading
> 80 0.15% /doc/stlfiles/forms/short/wp+alis.pdf /* this count should
> have been included in the general and is not!

A quick test suggests that you can only apply one FILEALIAS to a line. And
the first FILEALIAS that matches is the one that works.

If you use these 3 lines, your just get 1 line in your Request Report:
FILEALIAS /doc/stlfiles/forms/short/wp*.PDF
/doc/stlfiles/forms/short/Perf.pdf
FILEALIAS /documents/stlfiles/forms/short/wp*.PDF
/doc/stlfiles/forms/short/Perf.pdf
FILEALIAS /documents/* /doc/*

If, instead, you have the same 3 lines in this order, you will get 2 entries
in the Request Report.
FILEALIAS /documents/* /doc/*
FILEALIAS /doc/stlfiles/forms/short/wp*.PDF
/doc/stlfiles/forms/short/Perf.pdf
FILEALIAS /documents/stlfiles/forms/short/wp*.PDF
/doc/stlfiles/forms/short/Perf.pdf

(Except for LOGFORMAT, command order isn't usually significant in Analog,
but it makes sense that ALIASes would also be order sensitive).

Aengus

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Aengus
> Sent: Monday, 16 January, 2006 13:08
> To: Support for analog web log analyzer
> Subject: Re: [analog-help] Problem with FILEALIAS/REQALIAS
>
> On Monday, January 16, 2006 4:55 AM [EDT], [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>
>> Hi
>>
>> I need to make a report about the files used but unfortunately a
>> virtual directory has been defined and is being used:
>> All physical files are in a /DOCS/ Directory but the virtual
>> directory is sometime referenced so that in the logs entries are
>> present from both /docs/ and /documents/ Directories. I created a
>> statement with FILEALIAS /documents/* /doc/*
>
> Does this work?
>
>> Furthermore in a subdirectory Doc/forms/short/ I have long list of
>> documents called like WP 01.pdf WP 02.pdf etc In the report I would
>> like to have 1 entry for all WP therefore I thought I could create an
>> entry like:
>>
>> FILEALIAS /doc/stlfiles/forms/short/wp*.PDF
>> /doc/stlfiles/forms/short/Perf.pdf
>> REQALIAS /doc/stlfiles/forms/short/Perf.pdf "Performance Forms"
>>
>> Unfortunately it does not seem to work. Why? Anyone has an idea?
>
> Does the FILEALIAS part of that set of commands work?
>
> 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