[analog-help] FILEALIAS problem?
Aengus
analog07 at eircom.net
Sun Apr 8 20:46:52 PDT 2007
On Sunday, April 08, 2007 10:08 PM [EDT],
Tom Haapanen <tomh at motorsport.com> wrote:
> Hello,
>
> I seem to be experiencing some problems with FILEALIAS with Analog
> 6.0. I am trying to ignore some of the GET parameters (such as O= and
> Y=) in the requests, combining those. So when I add in a line like
> this:
> FILEALIAS REGEXP:^(/photos/select.asp.*)&Y=[0-9]+(.*)$ $1$2
>
> I get output like this in the requests section:
>
> 1238 0.31%
> /photos/select.asp?S=F1&E=Malaysian_GP/Saturday_practice&O=12
> 1213 0.30%
> /photos/select.asp?S=F1&E=Malaysian_GP/Saturday_qualifying&O=12
> 1201 0.30%
> /photos/select.asp?S=F1&E=Malaysian_GP/Saturday_practice&O=24
>
> If I include
>
> FILEALIAS REGEXP:^(/photos/select.asp.*)&O=[0-9]+(.*)$ $1$2
>
> I get this:
>
> 8603 2.13%
> /photos/select.asp?S=F1&E=Malaysian_GP/Saturday_qualifying&Y=2007
> 6807 1.68%
> /photos/select.asp?S=F1&E=Malaysian_GP/Friday_practice_2&Y=2007
> 6729 1.66%
> /photos/select.asp?S=F1&E=Malaysian_GP/Friday_practice_1&Y=2007
>
> So far, so good. But when I include both FILEALIAS lines, only the
> first one is being executed. In fact, in my rather larger set of
> lines, most of them are being ignored, with only the first few being
> applied.
> I have stripped this down enough (and I have enough experience with
> regular expressions) that I'm fairly confident that I'm doing this
> right. Did I miss something? Or is this an Analog
> idiosyncracy/limitation/bug? I looked through the source code (mostly
> in init2.c) but did not see anything obvious that would cause this
> behaviour.
Form a previous discussion, Analog will only apply a single FILEALIAS to any
given entry. (This should be documented, but I can't find any reference to
it in the obvious places).
http://lists.meer.net/pipermail/analog-help/2004-November/017310.html
Aengus
More information about the analog-help
mailing list