I am working on a creating a CMS, and I have run into an issue with creating friendly urls.

Right now my urls look like this http://mydomain.com/index.cfm?catAli...m&secAlias=fri. The ideal friendly url that I am trying to achieve with mod_rewrite is something like this http://mydomain.com/comm/fri but everything I have tried has come up null.

Anyone have a suggest on how I should format my rewrite rule?

Any help is greatly appreciated.