> Currently, I have something like this in config file > -- > > FILEALIAS /test/*.gif?*&rnd=*&* /test/$1.gif?$2&$4 > FILEALIAS /test/*.gif?*&rnd=* /test/$1.gif?$2 > FILEALIAS /test/*.gif?rnd=*&* /test/$1.gif?$3 > > (Thanks to Aengus for this configuration) > > This will get rid of cache buster rnd values and > aggregate the request correctly. However, I've been > getting requests with random parameters which I don't > have any control over. I can't use FILEALIAS when > there are multiple parameters to get rid of -- once it > finds first FILEALIAS that can be applied to a > request, it ignores rest of FILEALIAS configuration. > Plus, I cannot anticipate all possible parameters that > might come in. > > Is there any way to specify parameters I want when it > aggregates data?
If you are trying to parse you log file request lines down from an unknown set of parameters to a known set, you're probably better off running the log file lines through a pre-processor. Perl or sed on Unix would have negligible effect on the performance. You could probably do it in Analog, but it would be a very complicated regular expression. -- Jeremy Wadsack Seven Simple Machines +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------

