How did you create your new site? I was just playing with DevBox last night and I clicked the button to create a new application and everything just worked without any issues.
I didn’t add any new hosts in resin though, I’m just accessing my new site via:
http://localhost:8081/myApp/
Since the ColdBox folder is in the site root (webapps\ROOT\coldbox\system), Railo is able to resolve any coldbox.whatever path.
I’m not 100% familiar with Resin, but it looks like you have defined a new host (site) in which the site root is webapps/newsite/html. There’s no technical reason why your site root can’t be inside a folder called “html”, but it seems a little odd. Either way, one of 3 things needs to happen:
- You need to copy/paste the coldbox folder into webapps/newsite/html/coldbox.
- Or you can create an application-specific mapping in your application.cfc and use the no inheritance mode.
- Or you can create a server-level ColdFusion mapping for “/coldbox” that points to wherever the coldbox folder is
Number 1 should be the easiest to get you up and running.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com