Re: How do I Include pages with specific URL parameters?

Troy Simpson <[email protected]> Tue, 3 Nov 2009 18:35:23 -0500
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
Thanks for the response.  Please believe me, I have read the manual
several time over.  The practical experience is what is killing me.

So, let me see if I understand this correctly.

The directive of:  FILEALIAS /?objectid=3D* /*
would translate this:  /?objectid=3DFEBA5E7B-F1F6-975E-7040A72105801B36
to this:  /FEBA5E7B-F1F6-975E-7040A72105801B36

And if I only wanted to report the number of times this page was requeste=
d:
 /?objectid=3DFEBA5E7B-F1F6-975E-7040A72105801B36
then I would use the directive:  FILEINCLUDE
/FEBA5E7B-F1F6-975E-7040A72105801B36

Am I on track so far?

Thanks, Troy

On Tue, Nov 3, 2009 at 5:21 PM, Aengus <[email protected]> wrote:
> Troy Simpson <[email protected]> wrote:
>> I am using a content management system (called farcry) to manage and
>> display web pages to the public. =A0The URL includes an objectID
>> parameter for each page. =A0The URL for a page might look something li=
ke
>> this:
>>
>> http://www.domain.com/index.cfm?objectid=3DFEBA5E7B-F1F6-975E-7040A721=
05801B36
>> OR
>> http://www.domain.com/?objectid=3DFEBA5E7B-F1F6-975E-7040A72105801B36
>>
>> I want to see how many time a URL with a specific objectID has been
>> views. =A0How do I do that in the analog config file?
>>
>> The best that I can come up with is:
>> FILEINCLUDE objectid=3DFEBA5E7B-F1F6-975E-7040A72105801B36
>>
>> But that appears to not work. =A0Am I doing something wrong?
>
> Because the objectID occurs after the ?, it's an argument, not a file n=
ame.
> http://analog.cx/docs/args.html
>
> You could alias the argument into a filename - something like this:
>
> FILEALIAS /?objectid=3D* /*
> FILEALIAS /index.cfm?objectid=3D* /*
>
> Aengus
>
> +----------------------------------------------------------------------=
--
> | =A0TO UNSUBSCRIBE from this list:
> | =A0 =A0http://lists.meer.net/mailman/listinfo/analog-help
> |
> | =A0Analog Documentation: http://analog.cx/docs/Readme.html
> | =A0List archives: =A0http://www.analog.cx/docs/mailing.html#listarchi=
ves
> | =A0Usenet version: news://news.gmane.org/gmane.comp.web.analog.genera=
l
> +----------------------------------------------------------------------=
--
>



--=20
Troy Simpson

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------