Re: How do I Include pages with specific URL parameters?

Troy Simpson <[email protected]> Tue, 3 Nov 2009 19:38:10 -0500
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
The logs are from an IIS Windows server, but I'm running Analog on a
RedHat Linux Server.  I had the directive case set to insensitive.
That was counter intuitive.

CASE INSENSITIVE

When I check my setting, the objectID was converted to lowercase.
Including (+) and excluding (-) the following files:
  All excluded, then
  + /*0847dda0-f261-59bf-faa04eb1ec032b61

How come this directive works:
FILEINCLUDE /*?*0847DDA0-F261-59BF-FAA04EB1EC032B61

But this directive does not work:
FILEINCLUDE /*0847DDA0-F261-59BF-FAA04EB1EC032B61

Why do I have to have stars (*) on both sides of the question mark?

?

On Tue, Nov 3, 2009 at 7:16 PM, Aengus <[email protected]> wrote:
> Troy Simpson <[email protected]> wrote:
>> Thanks for the response. =A0Please believe me, I have read the manual
>> several time over. =A0The practical experience is what is killing me.
>>
>> So, let me see if I understand this correctly.
>>
>> The directive of: =A0FILEALIAS /?objectid=3D* /*
>> would translate this: =A0/?objectid=3DFEBA5E7B-F1F6-975E-7040A72105801=
B36
>> to this: =A0/FEBA5E7B-F1F6-975E-7040A72105801B36
>>
>> And if I only wanted to report the number of times this page was
>> requested: /?objectid=3DFEBA5E7B-F1F6-975E-7040A72105801B36
>> then I would use the directive: =A0FILEINCLUDE
>> /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 acro=
ss something that surprised me.
>
> By default, Analog assumes that logs on a Windows system are case insen=
sitive, 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 co=
mmand IS lowercased, so all of a sudden, you have a mismatch between /FEB=
A5E7B-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
>
> +----------------------------------------------------------------------=
--
> | =A0TO UNSUBSCRIBE from this list:
> | =A0 =A0http://lists.meer.net/mailman/listinfo/analog-help
> |
> | =A0Analog Documentation: http://analog.cx/docs/Readme.html
> | =A0List archives: =A0http://www.analog.cx/docs/mailing.html#listarchi=
ves
> | =A0Usenet version: news://news.gmane.org/gmane.comp.web.analog.genera=
l
> +----------------------------------------------------------------------=
--
>



--=20
Troy Simpson

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------