On Monday, July 11, 2005 7:40 AM [EDT],
Jim Mann Taylor <[EMAIL PROTECTED]> wrote:

> At 08:43 11/07/2005, Chris Sharman wrote about FILEALIAS:
>
> My problem seems to be interference between file aliases.
>
> I currently have two aliases for my Request Report, namely:
> FILEALIAS /default.aspx?Page.Aspx* /page.aspx*
> FILEALIAS page57.Aspx* /page57.aspx*
>
> This sorts out most of my problems, but leaves me with a set where I
> would like to remove the default.aspx? so that these will combine
> with those listings without the default.aspx? However whenever I try
> that, it interferes with the above aliases.
>
> /default.aspx?Page50.Aspx?Page=50
> /default.aspx?Page51.Aspx?page=51
> /default.aspx?Page59.Aspx?Genus=Rhododendron
> /default.aspx?Page57.Aspx?Code=1045
> /default.aspx?Page53.Aspx?Group=Devon

Are those lines examples of what's in your logfile, or examples of what
yo're getting in your request report? Or examples of what you'd like to get?

FILEALIAS /default.aspx?page*.aspx* /page$1.aspx

should turn all those requests into /PageXX.Aspx requests, (and will also
discard the extra code/Group/Genus information. You can retain it by using
$2 at the end of the alias, if you want)

> Can anyone see a way round this?
>
> The other odd thing is that I have CASE INSENSITIVE in the cfg file
> but it doesn't seem to work (which probably means I don't understand
> what it is meant to do) i.e. for example, I am surprised that I have
> to have the second alias above, but without it the data for
> page57.Aspx?Code=100 does not combine with page57.aspx?Code=100.

CASE INSENSITIVE applies to the filename, and I, like you, would have
assumed that it would apply to the arguments as well, but it doesn't appear
to do so. You could use a case insensitive regular expresssion for the
FILELALIAS, and that should cover the arguments too, but I can't get my head
around regular expressions today, so I can't provide an example.

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