Coldbox And Existing Project

Hi there,

How can I integrate coldbox in separate directory of my webApplication?
I want to migrate a project to coldbox but it will be done on stages so i will have part of the site working on a legacy code and part of it on coldbox ?
I am having troubles with URL rewriting for coldbox - url should be rewrited only if a specific directory is requested ?

Thank you

Please see this blog series. Even though it’s about FuseBox, a lot of the general information applies.

https://www.ortussolutions.com/blog/converting-fusebox-to-coldbox-mvc

Also, see this sample app you can run that actually shows a legacy and ColdBox ap co-existing in the same application.

https://github.com/bdw429s/coldbox-legacy-app-demo

As far as rewrites go, if you need them to only fire for certain requests, you’ll need to work those conditions into your rewrites rules.

Thanks!

~Brad