Re: How do I Include pages with specific URL parameters?
"Aengus" <[email protected]> Tue, 3 Nov 2009 17:21:30 -0500
| Newsgroups | gmane.comp.web.analog.general |
|---|---|
| Message-ID | <1D14E6F9934A42E89751C5AC4C16AE9D@WC740ALawlor> |
Troy Simpson <[email protected]> wrote: > I am using a content management system (called farcry) to manage and > display web pages to the public. The URL includes an objectID > parameter for each page. The URL for a page might look something like > this: > > http://www.domain.com/index.cfm?objectid=FEBA5E7B-F1F6-975E-7040A72105801B36 > OR > http://www.domain.com/?objectid=FEBA5E7B-F1F6-975E-7040A72105801B36 > > I want to see how many time a URL with a specific objectID has been > views. How do I do that in the analog config file? > > The best that I can come up with is: > FILEINCLUDE objectid=FEBA5E7B-F1F6-975E-7040A72105801B36 > > But that appears to not work. Am I doing something wrong? Because the objectID occurs after the ?, it's an argument, not a file name. http://analog.cx/docs/args.html You could alias the argument into a filename - something like this: FILEALIAS /?objectid=* /* FILEALIAS /index.cfm?objectid=* /* Aengus +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------