<cfscript>
pathInfo = reReplaceNoCase(trim(cgi.path_info), '.+\.cfm/? *', '');
i = 1;
lastKey = "";
value = "";
if(len(pathInfo)){
for(i=1; i lte listLen(pathInfo, "/"); i=i+1) {
value = listGetAt(pathInfo, i, "/");
if(i mod 2 is 0) url[lastKey] = value;
else lastKey = value;
}
if((i-1) mod 2 is 1) url[lastKey] = "";
IF(NOT IsDefined(lastKey)) lastkey = url[lastKey];
}
</cfscript>
i just stuck this in my application.cfm file. it seemed to work...