I am having some issues, and I am sure I am doing something wrong, and I’m sure it is simple, but I cannot find any solutions online after several searches.
I want to modernize multiple applications, and they need to live in subfolders on our Coldfusion/IIS server’s webroot. I was hoping that I could assign each app to a developer or team, and they could refactor each app one at a time, and then place the finished product in a subfolder in the webroot.
What setting to I need to modify so that my coldbox app will run in the subfolder?
Right now, all of our existing apps live on a windows server machine. IIS is configured so that d:\wwwroot is the webroot.
ColdFusion 2023 is installed, and IIS 10 is correctly serving the pages from ColdFusion for all existing apps.
I have tried making the MyPlayground app by following the Ortus getting started documentation. The app behaves as expected when run via command box (server start -cfengine=Adobe).
When I place that app as a whole on our CF Server (example: d:\wwwroot\myapp) the application starts up, but if I attempt to follow the link for ‘Main’, it does not work.
From IIS, the detailed error is:
Module IIS Web Core
Notification MapRequestHandler
Handler cfmHandler
Error Code 0x80070002
Requested URL http://localhost:80/index.cfm/myapp2/Main
Physical Path C:\wwwroot\index.cfm\myapp2\Main
Logon Method Negotiate
Logon User *************
It is not practical to spin up a server for every application (we’re talking 10+ apps) for many reasons.
Is it possible to drop coldbox applications into a web server set up in this way? And if so, what settings do I need to set for this to work?
Any insight would be greatly appreciated.
Thanks,
Allen