Jesse Reynolds wrote:

> At 17:50 -0700 8/1/01, Jeremy Wadsack wrote:
> >Jesse Reynolds wrote:
> >
> >>  I have a mac CGI application that uses the dollar symbol to separate
> >>  the cgi name with the parameters. The first parameter after the "$"
> >>  and before the first "?" is a "page name", and I'd like to tell
> >>  analog to recognise this argument as the name (filename) of a web
> >>  page, so it can still be of use when calculating hits to different
> >>  pages in the application.
> >>
> >>  How do I do this?
> >
> >You could try FILEASIAS, covered in docs/alias.html. If you give an example
> >of a URL, we can probably come up with an ALIAS statement for you.
>
> There is an example in my subject, but I'll elaborate on it below.

Sorry I missed that.


> I've read through alias.html and I'm not sure it helps me. I have
> multiple pages but they don't end in ".html" or dot anything.
>
> Here are some examples:
>
> the following are some more individual pages, note that they may or
> may not have "?..." on the end specifying more params... each set of
> params should indicate a separate page.
>
> http://www.acme.org/vce.acgi$about
> http://www.acme.org/vce.acgi$display_members?id=397
> http://www.acme.org/vce.acgi$new_members
> http://www.acme.org/vce.acgi$edit_members?id=2048
> http://www.acme.org/vce.acgi$list_pages
>
> etc etc. These are all separate pages. There are lots more, so I'd
> rather not do a separate FILEALIAS for each one.
>
> to elaborate further, the following should all be counted as separate pages:
>
> http://www.acme.org/vce.acgi$display_members?id=1
> http://www.acme.org/vce.acgi$display_members?id=2
> http://www.acme.org/vce.acgi$display_members?id=3
>
> and the names of the pages should just be:
> /vce.acgi$display_members?id=1
> /vce.acgi$display_members?id=2
> /vce.acgi$display_members?id=3

Well, if Analog is stopping at the $ sign then FILEALIAS won't help. You might
have to preprocess your logs to change that symbol to something more useful
(like '.') or change the CGI program (if you can) to use a different symbol).


Jeremy Wadsack
Wadsack-Allen Digital Group


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to