relocate wwwroot to different drive - CF2023/Tomcat/VSCode/CFBuilder
I am getting File Not Found when trying to move the WWWROOT directory to another drive with CF2023 and VSCode/CFBuilder.
As a note, I have not setup any of the following components before so the issues are due to that.
I installed the following on a win 10 laptop to try for CF development.
Coldfusion 2023 Dev (ColdFusion_2023_WWEJ_win64) with Tomcat
VSCode (VSCodeUserSetup-x64-1.87.2)
And added CFBuilder to VSCode.
The default Coldfusion wwwroot is at C:\ColdFusion\cfusion\wwwroot
I need to change the wwwroot to D:\mydir\wwwroot but have been unable to make it work. I get a file not found before it even gets to the web page.
The closest I have got was to add a Linked directory to the project and it now launches the web to D:\mydir\wwwroot\index.cfm and then shows the File not found on the web page. I looked in the error log and it shows:
Error [http-nio-8500-exec-1] - File not found: /WebTest/index.cfm The specific sequence of files included or processed is: C:\ColdFusion\cfusion\wwwroot\WebTest\index.cfm''
It’s running /WebTest/index.cfm in d:\mydir\wwwroot but then going back to C:\ColdFusion\cfusion\wwwroot\WebTest\index.cfm' which it cannot find since it isn’t there.
Instead of figuring out what I did wrong, can someone tell me how to move the wwwroot from the default location to another Drive location correctly?
