Antiks
March 11, 2009, 2:20pm
1
I was wondering if I wanted to have an url such as:
www.somewebsite.com/someguy
to redirect to www.somewebsite.com/index.cfm?event=users.dspProfile=someguy
right now we use a custom 404 redirector, but I was wondering if this
can be handled by the coldox routes?
cfset addCourse( pattern="/:someguy", handler="users",
"action="dspProfile")>
doesn't seem to work, any suggestions?
Dorioo
March 11, 2009, 2:28pm
2
Coldbox can’t currently handle a url without “index.cfm” on its own. You’ll need a middle man to handle it. Full SES documentation below with more details.
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbSESGuide
Antiks
March 11, 2009, 2:47pm
3
ok…that’s what I was wondering, so the best that can happen will be www.somewebsite.com/index.cfm/someguy
Jason1
March 13, 2009, 3:11am
4
Unless you use an ISAPI filter (IIS) or mod_rewrite (Apache).