[analog-help] Advice on using includes or excludes

Aengus analog07 at eircom.net
Tue Apr 1 19:13:58 PST 2008


At Tuesday, April 01, 2008 6:25 PM, Esposito, Richard 
<richard.esposito at boeing.com> wrote:

> Your confusion is probably due to my lack of understanding of how this
> website works. What I hope to end up with is a "Successful Requests
> for Pages" number that reflects only these 2 types of files. I wasn't
> sure if I needed to write FILEEXCLUDES for every other kind of file
> shown in the request report, or if there were some other easier way
> to do it. Thanks.

Okay, the simplest solution is to just use these commands:
FILEALIAS /index.cfm?content=story.cfm* /story.cfm
FILEALIAS /index.cfm?content=include/event_calendar_site.cfm* 
/calendar.cfm
FILEINCLUDE /story.cfm
FILEINCLUDE /calendar.cfm

The FILEALIAS commands will convert all references to content=story.cfm to 
plain old /story.cfm, throwing away a lthe additional parameters, and the 
same for the calendar requests. Then the FILEINCLUDE commands will tell 
analog to ignore all the log entries except for the story and calendar 
entries, and that should give you what you want.

Aengus 



More information about the analog-help mailing list