Title:
Changing the Document Root still requires project files to be within the bundled server's wwwroot folder
| View in TrackerStatus/Resolution/Reason: Closed/Not a Bug/
Reporter/Name(from Bugbase): Mikael Paul / Mikael Paul ()
Created: 07/17/2017
Components: Bundled Server
Versions: 2016
Failure Type: Others
Found In Build/Fixed In Build: 300344 /
Priority/Frequency: Normal /
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 0
Description:
When changing the "Document Root" to a folder outside of the "Server Home" field, the built-in server still only executes ColdFusion pages that are contained within the wwwroot folder. From my understanding, the Document Root signifies the location to which the project files are to be executed from.
Steps to reproduce:
1. Right-click the "defaultLocal" server in the server list and select "Edit Server"
2. Select "CF+Tomcat Bundle" for the Application Server, "127.0.0.1" for the Host Name, select "Is Local", and set the port to 8500 (8600 in my case) and click the "Next" button.
3. Set the Server Home to the built-in ColdFusion server "C:\ColdFusionBuilder2016\ColdFusion\cfusion", set the Document Root to the path outside of the Server Home, in my case "C:\Development\Sites", and set the Version to "2016". Click the "Finish" button.
4. Execute a file in the Document Root.
Actual Result:
Error 404, file not found.
Expected Result:
File should have loaded from the Document root.
Any Workarounds:
The only workaround I was able to make was by copying all the project files into the wwwroot directory, which defeats the purpose of defining the document root.
Attachments:
Comments: