On Fri, 4 Jul 2003, Phil Glatz wrote: > Date: Fri, 04 Jul 2003 12:56:54 -0700 > From: Phil Glatz <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [analog-help] collapsing non-standard query strings > > I have a site that uses information after the page name as arguments, rather > than the traditional query string after a question mark. Instead of > > http://www.mydomain.com/detail.php?state=texas > the syntax is > http://www.mydomain.com/detail.php/state/texas > > If I have a series of log entries with referrer information like > http://www.mydomain.com/detail.php/state/texas > http://www.mydomain.com/detail.php/state/utah > http://www.mydomain.com/detail.php/state/vermont > > I'd like to have them all come up in the referrer report as > http://www.mydomain.com/detail.php > > I tried > REFREPALIAS REGEXP:^(http://www.mydomain.com/detail.php)/state $1 > > but my report comes out like > 2: http://www.mydomain.com/detail.php > 1: http://www.mydomain.com/detail.php > 1: http://www.mydomain.com/detail.php > > I imagine there is a way to tackle this maybe with filealiases, but have not > been able to get it to work right - is this possible? >
Hi- This is just a rough guess, without actually trying it, but it might work: REFREPALIAS REGEXP:^(http://www.mydomain.com/detail.php)/(.*) $1?$2 I'm not sure if this would cause Analog to do its indenting routing, though. HTH, --Quentin +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
