RE: [coldbox:16498] Feature request -routes.cfm

If you route a legacy URL to a “redirect handler” of sorts, then you can relocate in that handler to a URL of your choice (complete with query strings) or return custom status codes. Is that what you mean?

Routes are not general purpose redirects, but more of a mapping between URL patterns and framework events. Therefore, I wouldn’t expect routes.cfm to have any direct control over what gets sent back to the browser, it’s just an incoming traffic cop, and you can deal with the response as you please in your handler.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com